ci: Add new reuseable on-push python workflows #159
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
| #################### Maintained by repositories-manager - do not edit directly #################### | ||
| name: Pull request workflow | ||
| on: | ||
| pull_request: | ||
| # Defaults are opened, reopened, synchronize | ||
| types: [opened, ready_for_review, reopened, synchronize] | ||
| branches: | ||
| - 'master' | ||
| tags-ignore: | ||
| - '*.*' | ||
| jobs: | ||
| pre-checks: | ||
| uses: qctrl/reusable-workflows/.github/workflows/poetry-pre-checks.yaml@master | ||
| secrets: inherit | ||
| with: | ||
| check-internal-versions: true | ||
| housekeeping: false | ||
| pytest: | ||
| # Filter out PRs originating from this repository (triggers on-push.yml instead) | ||
| if: github.event.pull_request.head.repo.fork == true | ||
| uses: qctrl/reusable-workflows/.github/workflows/pytest.yaml@master | ||
|
Check failure on line 24 in .github/workflows/on-pull-request.yaml
|
||
| secrets: inherit | ||
| with: | ||
| python-versions: '["3.10", "3.11", "3.12", "3.13"]' | ||
| sphinx_documentation: | ||
| # Filter out PRs originating from this repository (triggers on-push.yml instead) | ||
| if: github.event.pull_request.head.repo.fork == true | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Build Sphinx Image | ||
| run: | | ||
| source <(curl -sL http://ci.q-ctrl.com) | ||
| ./ci docker build \ | ||
| -f ./docs/Dockerfile \ | ||
| --suffix -docs | ||
| #################### Maintained by repositories-manager - do not edit directly #################### | ||