switching matrix to env
This commit is contained in:
parent
b927ae3d73
commit
81ec070346
@ -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: |
|
||||
|
Loading…
Reference in New Issue
Block a user