Skip to content

Commit

Permalink
Add Python 3.12 to lint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lwesterhof committed Nov 22, 2024
1 parent 1ee3203 commit 51b3bac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ on: [push, pull_request]

jobs:
lint:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.11', '3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,17 @@ on:

jobs:
unit-tests:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
matrix:
python-version: [2.7]
python-version: ['3.12']
steps:
- uses: actions/checkout@v4

- name: Set up Python
# setup-python stopped supporting Python 2.7, use https://github.com/MatteoH2O1999/setup-python
uses: MatteoH2O1999/[email protected]
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-build: info
cache-build: true
architecture: x64

- name: Install dependencies
run: |
Expand Down

0 comments on commit 51b3bac

Please sign in to comment.