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