File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -32,11 +32,14 @@ jobs:
3232 - name : Set up Python ${{ matrix.python-version }}
3333 uses : actions/setup-python@v2
3434 with :
35- python-version : ${{ matrix.python-version }}
35+ python-version : ${{ matrix.python-version }}
36+ - name : Install poetry
37+ uses : snok/install-poetry@v1
38+ with :
39+ virtualenvs-create : true
40+ virtualenvs-in-project : true
3641 - name : Install dependencies
37- run : |
38- python -m pip install --upgrade pip
39- pip install -r tests/dev.requirements.txt
42+ run : poetry install --no-interaction --no-root
4043 - name : Test with pytest
4144 env :
4245 POSTGRES_DB : test
4548 POSTGRES_HOST : localhost
4649 POSTGRES_PORT : ${{ job.services.postgres.ports[5432] }}
4750 run : |
51+ source .venv/bin/activate
4852 pytest
You can’t perform that action at this time.
0 commit comments