Test: workflow: fix syntax error #71
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 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 |