Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/eks-workflow-files/axlearn/axlearn-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ spec:
mkdir -p ${LOG_DIR}
# test on JAX, make sure 8 devices are visible
pytest-xdist.sh 8 4 ${LOG_DIR}/axlearn-unittests.jsonl test-axlearn.sh --directory "." --output ${LOG_DIR} --test-files "/opt/axlearn/axlearn/common/*_test.py"
exit_code=$?
if [ $exit_code -ne 0 ]; then
echo "Tests failed with exit code $exit_code"
exit $exit_code
fi
echo "Tests passed successfully"
env:
- name: RUN_ID
value: PLACEHOLDER
Expand Down
Loading