Skip to content

Commit

Permalink
github: run lint test on Ubuntu 24.04
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
  • Loading branch information
simondeziel committed Oct 2, 2024
1 parent 3731bdc commit dda2a64
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ concurrency:
jobs:
lint:
name: Lint
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Repository checkout
uses: actions/checkout@v4
Expand All @@ -23,14 +23,18 @@ jobs:

- name: Install dependencies
run: |
pip install --upgrade pip tox
python3 -m venv venv
. ./venv/bin/activate
./venv/bin/pip install --require-virtualenv --upgrade pip tox
- name: Lint Python files
run: |
. ./venv/bin/activate
tox -e lint
- name: Typecheck Python files
run: |
. ./venv/bin/activate
tox -e check
tests:
Expand Down

0 comments on commit dda2a64

Please sign in to comment.