Skip to content

Add a publishing action #6

Add a publishing action

Add a publishing action #6

Workflow file for this run

name: csl-reference-ci
on:
push:
branches:
- main
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup python and hatch
uses: Fusion-Power-Plant-Framework/fppf-actions/setup-hatch@main
with:
python-version: "3.11"
- name: Lint
uses: Fusion-Power-Plant-Framework/fppf-actions/hatch-lint@main
pytest:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup python and hatch
uses: Fusion-Power-Plant-Framework/fppf-actions/setup-hatch@main
with:
python-version: ${{ matrix.python-version }}
- name: Run pytest
run: hatch run test:tests-cov