ENH: allow pinning constraints in no-python repo (#214) #347
This file contains 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 | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
PYTHONHASHSEED: "0" | |
on: | |
push: | |
branches: | |
- main | |
- epic/* | |
- "[0-9]+.[0-9]+.x" | |
pull_request: | |
branches: | |
- main | |
- epic/* | |
- "[0-9]+.[0-9]+.x" | |
workflow_dispatch: | |
inputs: | |
specific-pip-packages: | |
description: Run CI with specific pip packages | |
required: false | |
type: string | |
jobs: | |
doc: | |
uses: ComPWA/actions/.github/workflows/ci-docs.yml@v1 | |
permissions: | |
pages: write | |
id-token: write | |
with: | |
gh-pages: true | |
specific-pip-packages: ${{ inputs.specific-pip-packages }} | |
pytest: | |
uses: ComPWA/actions/.github/workflows/pytest.yml@v1 | |
with: | |
coverage-target: repoma | |
macos-python-version: "3.9" | |
specific-pip-packages: ${{ inputs.specific-pip-packages }} | |
style: | |
if: inputs.specific-pip-packages == '' | |
secrets: | |
token: ${{ secrets.PAT }} | |
uses: ComPWA/actions/.github/workflows/pre-commit.yml@v1 |