mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-27 10:22:17 +00:00
Tends to help if I push valid yaml
This commit is contained in:
12
.github/workflows/django.yml
vendored
12
.github/workflows/django.yml
vendored
@@ -30,7 +30,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: 3.8
|
python-version: 3.8
|
||||||
- name: Setup Chromedriver
|
- name: Setup Chromedriver
|
||||||
if: !${{ matrix.parallel }}
|
if: \!${{ matrix.parallel }}
|
||||||
run: |
|
run: |
|
||||||
wget https://chromedriver.storage.googleapis.com/2.36/chromedriver_linux64.zip
|
wget https://chromedriver.storage.googleapis.com/2.36/chromedriver_linux64.zip
|
||||||
unzip chromedriver_linux64.zip
|
unzip chromedriver_linux64.zip
|
||||||
@@ -49,18 +49,18 @@ jobs:
|
|||||||
python manage.py check
|
python manage.py check
|
||||||
python manage.py makemigrations --check --dry-run
|
python manage.py makemigrations --check --dry-run
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
if: !${{ matrix.parallel }}
|
if: \!${{ matrix.parallel }}
|
||||||
run: coverage run manage.py test ${{ matrix.test-group }} --verbosity=2
|
run: coverage run manage.py test ${{ matrix.test-group }} --verbosity=2
|
||||||
- name: Run Tests (Parallel)
|
- name: Run Tests (Parallel)
|
||||||
if: ${{ matrix.parallel }}
|
if: ${{ matrix.parallel }}
|
||||||
run: coverage run manage.py test ${{ matrix.test-group }} --parallel --verbosity=2
|
run: coverage run manage.py test ${{ matrix.test-group }} --parallel --verbosity=2
|
||||||
- name: Upload Coverage
|
- name: Upload Coverage
|
||||||
run: coveralls
|
run: coveralls
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
COVERALLS_FLAG_NAME: ${{ matrix.test-group }}
|
COVERALLS_FLAG_NAME: ${{ matrix.test-group }}
|
||||||
COVERALLS_PARALLEL: true
|
COVERALLS_PARALLEL: true
|
||||||
coveralls:
|
coveralls:
|
||||||
name: Indicate completion to coveralls.io
|
name: Indicate completion to coveralls.io
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user