Skip to content

CI and dev tools update (#41) #47

CI and dev tools update (#41)

CI and dev tools update (#41) #47

Workflow file for this run

name: CI
on:
push:
branches:
- main
- release
pull_request:
jobs:
formatting:
name: Formatting and static analysis
runs-on: 'ubuntu-24.04'
steps:
- uses: actions/checkout@v6
- uses: prefix-dev/setup-pixi@v0.9.4
with:
frozen: true
environments: lint
- run: pixi run -e lint lint
tests:
name: Tests
needs: formatting
strategy:
matrix:
os: ['ubuntu-24.04']
# python-version: ['3.10', '3.11', '3.12']
uses: ./.github/workflows/test.yml
with:
os-variant: ${{ matrix.os }}
# python-version: ${{ matrix.python-version }}
checkout_ref: ${{ github.ref }}
secrets: inherit
docs:
needs: tests
uses: ./.github/workflows/docs.yml
with:
publish: false
linkcheck: ${{ github.ref == 'refs/heads/main' }}
branch: ${{ github.head_ref == '' && github.ref_name || github.head_ref }}
secrets: inherit