Skip to content

chore: update unit test ci to use multiple python versions #9

chore: update unit test ci to use multiple python versions

chore: update unit test ci to use multiple python versions #9

Workflow file for this run

name: Run unit tests

Check failure on line 1 in .github/workflows/tests.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/tests.yaml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: build
on:
push:
branches:
- develop
pull_request:
branches:
- develop
types:
- opened
- ready_for_review
- synchronize
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Poetry
run: pipx install poetry
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Check poetry
run: |
poetry --version
poetry config --list
- name: Install dependencies
run: |
poetry install
./poetry_plugins.sh
- name: Run unit tests
run: |
make test