From c1acc10f19ef022134a9a2cc7bbe05f4b8aa7891 Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Wed, 2 Oct 2024 15:00:17 -0400 Subject: [PATCH] github: add unit-tests job Signed-off-by: Simon Deziel --- .github/workflows/tests.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ab4bdea4..f016d321 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -37,6 +37,24 @@ jobs: . ./venv/bin/activate tox -e check + unit-tests: + name: Unit tests + runs-on: ubuntu-24.04 + steps: + - name: Repository checkout + uses: actions/checkout@v4 + + - name: Install dependencies + run: | + python3 -m venv venv + . ./venv/bin/activate + ./venv/bin/pip install --require-virtualenv --upgrade pip tox + + - name: Run unit tests + run: | + . ./venv/bin/activate + tox -e unit + tests: name: Tests strategy: