Skip to content

Test: workflow: fix syntax error #71

Test: workflow: fix syntax error

Test: workflow: fix syntax error #71

Workflow file for this run

#
# Build & test library
#
name: Test
run-name: "Test: ${{ github.event.head_commit.message }}"
on: [push]
jobs:
build-test:
runs-on: ${{ matrix.operating-system }}
strategy:
fail-fast: false
matrix:
operating-system:
- ubuntu-latest
- macos-latest
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
steps:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Check out repository
uses: actions/checkout@v3
- name: Install library dependencies
run: |
pip install poetry
poetry install --only main --only test
- name: Test library
run: poetry run pytest