set inputs.setup_commands from all_tests_metax.yml #24
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: | | ||
|
Check failure on line 20 in .github/workflows/all_tests_metax.yml
|
||
| source /opt/miniconda3/etc/profile.d/conda.sh | ||
| conda activate flagscale-train | ||
| export LD_LIBRARY_PATH=/usr/local/maca/lib:$LD_LIBRARY_PATH | ||
| 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!" | ||