Optimize HTML dashboard design #17
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: Smoke Test | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| smoke-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python 3.12 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Smoke test (run training for up to 3 minutes) | |
| run: | | |
| set +e | |
| timeout 180 python microgpt.py | |
| exit_code=$? | |
| if [ $exit_code -eq 0 ]; then | |
| echo "Completed!" | |
| elif [ $exit_code -eq 124 ]; then | |
| echo "Timed out after 3 minutes (expected for full training) - PASS" | |
| else | |
| echo "Script failed with exit code $exit_code" | |
| exit 1 | |
| fi |