Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run unit tests in CI #611

Merged
merged 8 commits into from
Oct 3, 2024
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
hamistao marked this conversation as resolved.
Show resolved Hide resolved
. ./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