Skip to content

[CI] Run tests through GitHub Actions #515

[CI] Run tests through GitHub Actions

[CI] Run tests through GitHub Actions #515

Workflow file for this run

name: Test
on:
push:
branches: [dev]
pull_request:
branches: [dev]
permissions:
contents: read
jobs:
test:
name: Test on ${{ matrix.os }} with Python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v4
- uses: snok/install-poetry@v1
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: poetry
- name: Run unit tests
run: make test