Skip to content

Commit

Permalink
Fix python and poetry version definition #9
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoHuebner authored and pmayd committed Oct 25, 2023
1 parent 8b2dad2 commit ecd9c00
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ on:
- dev
workflow_dispatch:

env:
POETRY_VERSION: 1.6.1

jobs:
test:
runs-on: ${{ matrix.os }}
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit ecd9c00

Please sign in to comment.