forked from flagos-ai/TransformerEngine-FL
-
Notifications
You must be signed in to change notification settings - Fork 2
36 lines (32 loc) · 918 Bytes
/
Copy pathall_tests_metax.yml
File metadata and controls
36 lines (32 loc) · 918 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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: |
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!"