Skip to content

Commit

Permalink
exclude migrations from black check and try adding more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
helenb committed Nov 10, 2023
1 parent 082474d commit ef3ca2f
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,16 @@ jobs:
poetry config virtualenvs.create false &&
poetry install
# - name: Flake8
# run: flake8 rca fabfile.py
# run: flake8 ./rca fabfile.py
- name: isort
run: isort --check-only --diff rca fabfile.py
run: isort --check-only --diff ./rca fabfile.py
- name: black
run: black --check rca fabfile.py
run: black --check --diff ./rca fabfile.py --exclude migrations/
- name: collectstatic
run python manage.py collectstatic --verbosity 0 --noinput --clear
- name: System checks
run: python manage.py check
- name: Missing migrations
run: python manage.py makemigrations --check --noinput
- name: Test
run: python manage.py test --settings=rca.settings.test

0 comments on commit ef3ca2f

Please sign in to comment.