Skip to content

Commit

Permalink
Replace ubuntu-20.04 with 22.04 in CI (#177)
Browse files Browse the repository at this point in the history
- ubuntu-20.04 is no longer supported, ubuntu-latest is now 24.04
- fix workflow syntax
- fix ruff syntax

I had noticed that most of the tests fail because they can't find a
runner (my PR was merged, thanks for that!).
  • Loading branch information
mrbean-bremen authored Feb 24, 2025
1 parent 6e25ce2 commit 2c152d4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@ on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-20.04, ubuntu-latest, macos-latest
runs-on: ${{ matrix.os }}
env:
PIP_DISABLE_PIP_VERSION_CHECK: 1
strategy:
matrix:
os: [ubuntu-22.04, ubuntu-latest, macos-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: make install
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ test_deps:
python -m pip install .[test]

lint:
ruff src
ruff check src
mypy --install-types --non-interactive --check-untyped-defs src

test:
Expand Down

0 comments on commit 2c152d4

Please # to comment.