Add pinhole and collimator stages control for I19-2 #7171
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- '*' | |
pull_request: | |
jobs: | |
lint: | |
uses: ./.github/workflows/_tox.yml | |
with: | |
tox: pre-commit,type-checking | |
test: | |
strategy: | |
matrix: | |
runs-on: ["ubuntu-latest"] # can add windows-latest, macos-latest | |
python-version: ["3.11", "3.12", "3.13"] | |
include: | |
# Include one that runs in the dev environment | |
- runs-on: "ubuntu-latest" | |
python-version: "dev" | |
fail-fast: false | |
uses: ./.github/workflows/_test.yml | |
with: | |
runs-on: ${{ matrix.runs-on }} | |
python-version: ${{ matrix.python-version }} | |
secrets: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
docs: | |
uses: ./.github/workflows/_docs.yml | |
dist: | |
uses: ./.github/workflows/_dist.yml | |
pypi: | |
needs: [dist, test] | |
if: github.ref_type == 'tag' | |
uses: ./.github/workflows/_pypi.yml | |
permissions: | |
id-token: write | |
release: | |
needs: [dist, test, docs] | |
if: github.ref_type == 'tag' | |
uses: ./.github/workflows/_release.yml | |
permissions: | |
contents: write |