Pamela Fox
commited on
Commit
·
0d2dcb2
1
Parent(s):
89079a6
Fix workflow
Browse files
.github/workflows/check.yaml
CHANGED
@@ -25,12 +25,11 @@ jobs:
|
|
25 |
pip install -r requirements-dev.txt
|
26 |
- name: Lint with ruff
|
27 |
run: |
|
28 |
-
ruff
|
29 |
-
ruff quizzes/
|
30 |
- name: Check formatting with black
|
31 |
uses: psf/black@stable
|
32 |
with:
|
33 |
-
src: "
|
34 |
options: "--check --verbose"
|
35 |
- name: Run unit tests
|
36 |
env:
|
@@ -40,6 +39,6 @@ jobs:
|
|
40 |
DBPASS: postgres
|
41 |
SECRET_KEY: django-insecure-key-${{ github.run_id }}-${{ github.run_attempt }}
|
42 |
run: |
|
43 |
-
python manage.py collectstatic
|
44 |
-
coverage run --source='.' manage.py test quizzes
|
45 |
coverage report
|
|
|
25 |
pip install -r requirements-dev.txt
|
26 |
- name: Lint with ruff
|
27 |
run: |
|
28 |
+
ruff .
|
|
|
29 |
- name: Check formatting with black
|
30 |
uses: psf/black@stable
|
31 |
with:
|
32 |
+
src: ""
|
33 |
options: "--check --verbose"
|
34 |
- name: Run unit tests
|
35 |
env:
|
|
|
39 |
DBPASS: postgres
|
40 |
SECRET_KEY: django-insecure-key-${{ github.run_id }}-${{ github.run_attempt }}
|
41 |
run: |
|
42 |
+
python src/manage.py collectstatic
|
43 |
+
coverage run --source='.' src/manage.py test quizzes
|
44 |
coverage report
|