From dda2a643110e873e30cc5b9c2c451ee7bca39393 Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Wed, 2 Oct 2024 15:14:06 -0400 Subject: [PATCH] github: run lint test on Ubuntu 24.04 Signed-off-by: Simon Deziel --- .github/workflows/tests.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c64d1776..ab4bdea4 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 @@ -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: