Skip to content

bug correction related to user defined NAV files (#162) #696

bug correction related to user defined NAV files (#162)

bug correction related to user defined NAV files (#162) #696

Workflow file for this run

name: Python package
on:
pull_request:
push:
branches:
- main
tags:
- "[0-9]+.[0-9]+.[0-9]+*"
- "v[0-9]+.[0-9]+.[0-9]+*"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
steps:
- name: "Check out repository"
uses: actions/checkout@v4
- name: "Install uv"
uses: astral-sh/setup-uv@v5
with:
# Install a specific version of uv.
version: "0.5.25"
- name: "Set up Python"
uses: actions/setup-python@v5
with:
python-version-file: ".python-version"
- name: Create virtual environment
run:
uv sync
- name: Run ruff
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
uv run ruff check --exit-non-zero-on-fix
uv run ruff format --check
- name: Test with pytest
run: |
uv run pytest -n auto --dist=loadfile --durations=10