Cap progress to 0.99 if experiment is still running (#861) #2006
This file contains 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: Test | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
jobs: | |
test: | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.10.11 | |
- run: nvidia-smi | |
- run: make setup-dev | |
- run: make test | |
# Post-Action Cleanup | |
- name: Clean workspace after action | |
if: ${{ always() }} | |
run: | | |
rm -rf ${{ github.workspace }}/* |