From afba06dd1fd1918eeeb716b73239243c54167c18 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Sat, 8 May 2021 11:38:27 +1000 Subject: [PATCH] Tweak workflow (tests) --- .github/workflows/codeql-analysis.yml | 5 ----- .github/workflows/image.yml | 4 +++- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a8e9f330..1b827414 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -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' diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml index d07e2da9..75ec0cef 100644 --- a/.github/workflows/image.yml +++ b/.github/workflows/image.yml @@ -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