Fix crew test

This commit is contained in:
2021-02-15 16:12:25 +00:00
parent 59a9fd5bb4
commit e14e250896
3 changed files with 41 additions and 24 deletions

View File

@@ -10,13 +10,6 @@ jobs:
build:
if: "!contains(github.event.head_commit.message, '[ci skip]')"
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.9]
experimental: [false]
include:
- python: 3.10.0-alpha.5
experimental: true
continue-on-error: ${{ matrix.experimental }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -35,7 +28,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
python-version: 3.9
- name: Cache python deps
uses: actions/cache@v2
with:
@@ -53,7 +46,7 @@ jobs:
pipenv run python manage.py makemigrations --check --dry-run
pipenv run python manage.py collectstatic --noinput
- name: Run Tests
run: pipenv run pytest --cov -n auto
run: pipenv run pytest -n auto --cov
- uses: actions/upload-artifact@v2
if: failure()
with: