Skip to content

Commit

Permalink
Test dropping down to ubuntu-18.04 from ubuntu-latest
Browse files Browse the repository at this point in the history
- GHA now uses ubuntu-20.04 for ubuntu-latest.
  • Loading branch information
stevepiercy committed Feb 22, 2021
1 parent a74ad50 commit 2f48c06
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,22 @@ jobs:
- "3.9"
- "pypy3"
os:
- "ubuntu-latest"
- "ubuntu-18.04"
- "windows-latest"
- "macos-latest"
architecture:
- x64
- x86
include:
# Only run coverage on ubuntu-latest, except on pypy3
- os: "ubuntu-latest"
# Only run coverage on ubuntu-18.04, except on pypy3
- os: "ubuntu-18.04"
pytest-args: "--cov"
- os: "ubuntu-latest"
- os: "ubuntu-18.04"
py: "pypy3"
pytest-args: ""
exclude:
# Linux and macOS don't have x86 python
- os: "ubuntu-latest"
- os: "ubuntu-18.04"
architecture: x86
- os: "macos-latest"
architecture: x86
Expand All @@ -56,7 +56,7 @@ jobs:
- name: Running tox
run: tox -e py -- ${{ matrix.pytest-args }}
functional3:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
env:
DISPLAY: ":99"
services:
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
run: |
tox -e functional3
coverage:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
name: Validate coverage
steps:
- uses: actions/checkout@v2
Expand All @@ -98,7 +98,7 @@ jobs:
pip install tox
tox -e py39-cover,coverage
docs:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
name: Build the documentation
steps:
- uses: actions/checkout@v2
Expand All @@ -111,7 +111,7 @@ jobs:
pip install tox
tox -e docs
lint:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
name: Lint the package
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 2f48c06

Please sign in to comment.