Tweak workflow (tests)

This commit is contained in:
dgtlmoon
2021-05-08 11:38:27 +10:00
parent 1d66160e8c
commit afba06dd1f
2 changed files with 3 additions and 6 deletions
-5
View File
@@ -12,11 +12,6 @@
name: "CodeQL"
on:
push:
branches: [ master ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
schedule:
- cron: '27 9 * * 4'
+3 -1
View File
@@ -27,9 +27,11 @@ jobs:
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
cd backend; pytest
# Each test is totally isolated and performs its own cleanup/reset
cd backend; ./run_all_tests.sh
- name: Set up QEMU
uses: docker/setup-qemu-action@v1