Nightly test at main branch #272
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: Nightly test at main branch | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '30 1 * * 1-5' | |
jobs: | |
setup: | |
name: Setup variables | |
runs-on: 'ubuntu-24.04' | |
outputs: | |
min_python: ${{ steps.vars.outputs.min_python }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Get Python version for other CI jobs | |
id: vars | |
run: echo "min_python=$(< .github/workflows/python-version-ci)" >> "$GITHUB_OUTPUT" | |
tests: | |
name: Tests | |
needs: setup | |
strategy: | |
matrix: | |
os: ['ubuntu-24.04'] | |
python: | |
- version: '${{needs.setup.outputs.min_python}}' | |
tox-env: 'nightly' | |
uses: ./.github/workflows/test.yml | |
with: | |
os-variant: ${{ matrix.os }} | |
python-version: ${{ matrix.python.version }} | |
tox-env: ${{ matrix.python.tox-env }} | |
secrets: inherit |