diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ec45193e..edc6f422 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -5,6 +5,7 @@ on: # yamllint disable-line rule:truthy push: branches: ['master'] pull_request: + workflow_call: jobs: pytest: diff --git a/.github/workflows/scheduled.yaml b/.github/workflows/scheduled.yaml new file mode 100644 index 00000000..01d91dee --- /dev/null +++ b/.github/workflows/scheduled.yaml @@ -0,0 +1,11 @@ +--- +name: Run tests periodically + +on: # yamllint disable-line rule:truthy + pull_request: + schedule: + - cron: '40 7 * * 0' + +jobs: + pytest: + uses: ./.github/workflows/ci.yaml