diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index 27fc519..59bb3d9 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -14,6 +14,9 @@ on: - dev workflow_dispatch: +env: + POETRY_VERSION: 1.6.1 + jobs: test: runs-on: ${{ matrix.os }} @@ -22,7 +25,6 @@ jobs: fail-fast: false matrix: python-version: ["3.9", "3.10"] - poetry-version: [1.6.1] os: [ubuntu-22.04, macOS-latest, windows-latest] steps: @@ -34,7 +36,7 @@ jobs: - name: Run poetry image uses: abatilo/actions-poetry@v2.0.0 with: - poetry-version: ${{ matrix.poetry-version }} + poetry-version: $POETRY_VERSION - name: Install dependencies run: | poetry install --with dev @@ -45,8 +47,8 @@ jobs: strategy: fail-fast: false matrix: - python-version: ${{ matrix.python-version }} - poetry-version: ${{ matrix.poetry-version }} + # only support specific python version, as guidelines differ beween (minor) versions + python-version: ["3.10.13"] os: [ubuntu-latest] runs-on: ${{ matrix.os }} steps: @@ -57,7 +59,7 @@ jobs: - name: Run poetry image uses: abatilo/actions-poetry@v2.0.0 with: - poetry-version: ${{ matrix.poetry-version }} + poetry-version: $POETRY_VERSION - name: Install dependencies run: poetry install --with dev - name: Run black