Skip to content

ci: Add new reuseable on-push python workflows #159

ci: Add new reuseable on-push python workflows

ci: Add new reuseable on-push python workflows #159

#################### 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

View workflow run for this annotation

GitHub Actions / .github/workflows/on-pull-request.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/on-pull-request.yaml" -> "qctrl/reusable-workflows/.github/workflows/pytest.yaml@master" : workflow was not found. See https://docs.github.com/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows for more information.
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 ####################