Skip to content

Merge pull request #9 from fusion-energy/update-version #25

Merge pull request #9 from fusion-energy/update-version

Merge pull request #9 from fusion-energy/update-version #25

Workflow file for this run

name: CI Python testing
on:
pull_request:
branches:
- develop
- main
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"] # TODO retry with latest python, "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up 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: install package
run: |
python -m pip install --upgrade pip
python -m pip install .[tests]
- name: Run tests
run: pytest