Skip to content

Add in support for pulling out extra params fields defined in instrum… #98

Add in support for pulling out extra params fields defined in instrum…

Add in support for pulling out extra params fields defined in instrum… #98

Workflow file for this run

name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: ["main"]
pull_request:
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
lint:
# The type of runner that the job will run on
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/ruff-action@v3
with:
version: "latest"
- uses: astral-sh/ruff-action@v3
with:
version: "latest"
args: "format --check --diff"
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.12"
- "3.13"
steps:
- uses: actions/checkout@v4
- name: Install uv and python
uses: astral-sh/setup-uv@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install the project
run: uv sync --dev --extra eso --extra lt
- name: Run tests
run: uv run pytest