Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
prepare-base:
name: Prepare base dependencies
runs-on: ubuntu-latest
timeout-minutes: 5
outputs:
python-key: ${{ steps.generate-python-key.outputs.key }}
pre-commit-key: ${{ steps.generate-pre-commit-key.outputs.key }}
Expand Down Expand Up @@ -76,6 +77,7 @@ jobs:
formatting:
name: Run pre-commit checks
runs-on: ubuntu-latest
timeout-minutes: 5
needs: prepare-base
steps:
- name: Check out code from GitHub
Expand Down Expand Up @@ -118,6 +120,7 @@ jobs:
prepare-tests-linux:
name: Prepare tests for Python ${{ matrix.python-version }} (Linux)
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9, "3.10"]
Expand Down Expand Up @@ -161,6 +164,7 @@ jobs:
pytest-linux:
name: Run tests Python ${{ matrix.python-version }} (Linux)
runs-on: ubuntu-latest
timeout-minutes: 10
needs: prepare-tests-linux
strategy:
fail-fast: false
Expand Down Expand Up @@ -200,6 +204,7 @@ jobs:
coverage:
name: Process test coverage
runs-on: ubuntu-latest
timeout-minutes: 5
needs: ["prepare-tests-linux", "pytest-linux"]
strategy:
matrix:
Expand Down Expand Up @@ -244,6 +249,7 @@ jobs:
prepare-tests-windows:
name: Prepare tests for Python ${{ matrix.python-version }} (Windows)
runs-on: windows-latest
timeout-minutes: 5
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9, "3.10"]
Expand Down Expand Up @@ -287,6 +293,7 @@ jobs:
pytest-windows:
name: Run tests Python ${{ matrix.python-version }} (Windows)
runs-on: windows-latest
timeout-minutes: 10
needs: prepare-tests-windows
strategy:
fail-fast: false
Expand Down Expand Up @@ -325,6 +332,7 @@ jobs:
prepare-tests-pypy:
name: Prepare tests for Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
python-version: ["pypy3"]
Expand Down Expand Up @@ -367,6 +375,7 @@ jobs:
pytest-pypy:
name: Run tests Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
timeout-minutes: 10
needs: prepare-tests-pypy
strategy:
fail-fast: false
Expand Down