Compat Validation #8
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
| name: Compat Validation | |
| on: | |
| schedule: | |
| - cron: "0 6 * * 1" # Monday 6am UTC | |
| workflow_call: | |
| inputs: | |
| mode: | |
| description: "Validation mode" | |
| required: true | |
| default: "all" | |
| type: string | |
| workflow_dispatch: | |
| inputs: | |
| mode: | |
| description: "Validation mode" | |
| required: true | |
| default: "last" | |
| type: choice | |
| options: | |
| - last | |
| - all | |
| jobs: | |
| compat-test: | |
| runs-on: >- | |
| ${{ github.repository == 'vortex-data/vortex' | |
| && format('runs-on={0}/runner=amd64-medium/image=ubuntu24-full-x64-pre-v2/tag=compat-validation', github.run_id) | |
| || 'ubuntu-latest' }} | |
| timeout-minutes: 120 | |
| steps: | |
| - uses: runs-on/action@v2 | |
| if: github.repository == 'vortex-data/vortex' | |
| with: | |
| sccache: s3 | |
| - uses: actions/checkout@v6 | |
| - uses: ./.github/actions/setup-prebuild | |
| - name: Run compat tests | |
| run: | | |
| MODE="${{ inputs.mode || 'last' }}" | |
| uv run vortex-test/compat-gen/scripts/compat.py check \ | |
| --mode "$MODE" |