Commit 5d952d3b by Bjorn Neergaard

ci: update to Ubuntu 22.04 and macOS 12

Testing against newer versions will help us keep abreast of any upcoming
issues. The older versions can be added as partial matrix entries if
desirable, but I do not believe this to be necessary.

Also re-order mypy in the workflow so that type errors fail fast (before
tests are run).
parent a614b9b1
......@@ -31,11 +31,11 @@ jobs:
python-version: ["3.7", "3.8", "3.9", "3.10"]
include:
- os: Ubuntu
image: ubuntu-latest
image: ubuntu-22.04
- os: Windows
image: windows-2022
- os: macOS
image: macos-11
image: macos-12
fail-fast: false
defaults:
run:
......@@ -81,15 +81,15 @@ jobs:
- name: Install dependencies
run: poetry install
- name: Run mypy
run: poetry run mypy
- name: Install pytest plugin
run: poetry run pip install pytest-github-actions-annotate-failures
- name: Run pytest
run: poetry run python -m pytest -p no:sugar -q tests/
- name: Run mypy
run: poetry run mypy
- name: Run pytest (integration suite)
env:
POETRY_TEST_INTEGRATION_GIT_USERNAME: ${GITHUB_ACTOR}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment