From 461fc75f2cfe836410c0259a5c3f5ab5e67645c9 Mon Sep 17 00:00:00 2001 From: Matthew Stratford Date: Wed, 7 Apr 2021 23:09:51 +0100 Subject: [PATCH] Add timeouts, name logs per python version. --- .github/workflows/test.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index ccbd604..1ff29f1 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -6,7 +6,9 @@ jobs: test-macos: runs-on: macos-latest + timeout-minutes: 15 strategy: + fail-fast: false matrix: python-version: [3.7, 3.8, 3.9] @@ -32,6 +34,7 @@ jobs: # 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 unittest + timeout-minutes: 10 run: | python -m sounddevice cp config.py.example config.py # We don't need an API config file for these tests. @@ -40,7 +43,7 @@ jobs: if: ${{ always() }} uses: actions/upload-artifact@v2 with: - name: Logs + name: Logs - Python ${{ matrix.python-version }} path: | logs/*