[CICD] Simplified workflows, Add lint_check & functional_tests, Switch to FlagCICD metax runner #143
Workflow file for this run
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: cuda_tests | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| workflow_dispatch: # Allows manual triggering | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.actor }} | |
| cancel-in-progress: true | |
| jobs: | |
| run_tests: | |
| # Package manager and environment settings are read from .github/configs/cuda.yml | |
| uses: ./.github/workflows/all_tests_common.yml | |
| with: | |
| platform: cuda | |
| # Temporarily skip unit tests so we can validate the functional lane | |
| # and self-hosted CUDA runner wiring first. | |
| run_unit_tests: false | |
| run_functional_tests: true | |
| all_tests: | |
| needs: run_tests | |
| runs-on: ubuntu-latest | |
| if: always() | |
| steps: | |
| - name: Verify workflow status | |
| run: | | |
| if [ "${{ needs.run_tests.result }}" != "success" ]; then | |
| echo "❌ Tests workflow failed" | |
| exit 1 | |
| fi | |
| echo "✅ All tests passed!" |