[CICD] Upload unittest coverage report to FlagCICD platform && Access FlagCICD runner #133
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: metax_tests | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.actor }} | |
| cancel-in-progress: true | |
| jobs: | |
| run_tests: | |
| uses: ./.github/workflows/all_tests_common.yml | |
| with: | |
| platform: metax | |
| # Metax Environment Setup | |
| setup_commands: | | |
| export PATH=/opt/conda/bin:$PATH | |
| export LD_LIBRARY_PATH=/usr/local/maca/lib:/opt/maca/lib:$LD_LIBRARY_PATH | |
| which python3 | |
| python3 -m pip --version | |
| 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 "❌ Metax Tests workflow failed" | |
| exit 1 | |
| fi | |
| echo "✅ All Metax tests passed!" |