switching matrix to env
Some checks failed
Tests / build (ubuntu-latest) (push) Successful in 53s
Tests / Package Library (push) Failing after 15s

This commit is contained in:
Andy Pack 2024-07-28 14:05:54 +01:00
parent b927ae3d73
commit 81ec070346
Signed by: sarsoo
GPG Key ID: A55BA3536A5E0ED7

View File

@ -1,13 +1,15 @@
name: Tests
on: [push, pull_request]
env:
python-version: '3.10'
poetry-version: 1.8.3
jobs:
build:
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
poetry-version: [1.3.1]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
@ -18,12 +20,12 @@ jobs:
- name: Install Python 3
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
python-version: ${{ env.python-version }}
- name: Install Poetry # dependency management
uses: abatilo/actions-poetry@v2.1.6
with:
poetry-version: ${{ matrix.poetry-version }}
poetry-version: ${{ env.poetry-version }}
- name: Install Dependencies
run: poetry install
@ -45,12 +47,12 @@ jobs:
- name: Install Python 3
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
python-version: ${{ env.python-version }}
- name: Install Poetry # dependency management
uses: abatilo/actions-poetry@v2.1.6
with:
poetry-version: ${{ matrix.poetry-version }}
poetry-version: ${{ env.poetry-version }}
- name: Add SarGit Repo
run: |