From 2a0ad0f2b9990eb31f7b29dc4d6d533c5b5aa5f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Bla=C3=9F?= Date: Fri, 7 Jun 2024 07:35:06 +0200 Subject: [PATCH] wip --- .github/workflows/tests.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4b9a5aa..57c4ba5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,20 +1,20 @@ name: tests - on: [push] - jobs: run-unittests: runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.11", "3.12"] steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - name: Set up Python $${{ matrix.python-version }} + uses: actions/setup-python@v5 with: - python-version: | - 3.9 - 3.10 - 3.11 - - run: python3 -m pip install --user pipx - - run: python3 -m pipx ensurepath - - run: pipx install tox - - run: tox r - + python-version: ${{ matrix.python-version }} + - name: Set up Poetry + uses: snok/install-poetry@v1 + - name: Install project + run: poetry install --with=development + - name: Testing ... + run: poetry run -- python -m unittest