Skip to content

Commit

Permalink
pin base-os in ci runners
Browse files Browse the repository at this point in the history
  • Loading branch information
mmerickel committed Mar 13, 2022
1 parent e97bba8 commit 6966401
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,26 +21,26 @@ jobs:
- "3.10"
- "pypy-3.8"
os:
- "ubuntu-latest"
- "windows-latest"
- "macos-latest"
- "ubuntu-20.04"
- "windows-2022"
- "macos-11"
architecture:
- x64
- x86

include:
# Only run coverage on ubuntu-latest, except on pypy3
- os: "ubuntu-latest"
# Only run coverage on ubuntu-20.04, except on pypy3
- os: "ubuntu-20.04"
pytest-args: "--cov"
- os: "ubuntu-latest"
- os: "ubuntu-20.04"
py: "pypy-3.8"
pytest-args: ""

exclude:
# Linux and macOS don't have x86 python
- os: "ubuntu-latest"
- os: "ubuntu-20.04"
architecture: x86
- os: "macos-latest"
- os: "macos-11"
architecture: x86

name: "Python: ${{ matrix.py }}-${{ matrix.architecture }} on ${{ matrix.os }}"
Expand All @@ -56,7 +56,7 @@ jobs:
- name: Running tox
run: tox -e py -- ${{ matrix.pytest-args }}
coverage:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
name: Validate coverage
steps:
- uses: actions/checkout@v2
Expand All @@ -68,7 +68,7 @@ jobs:
- run: pip install tox
- run: tox -e py38-cover,coverage
docs:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
name: Build the documentation
steps:
- uses: actions/checkout@v2
Expand All @@ -80,7 +80,7 @@ jobs:
- run: pip install tox
- run: tox -e docs
lint:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
name: Lint the package
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 6966401

Please sign in to comment.