[agent] git message tags (#431) #178
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
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| name: Test (Apptainer) | |
| jobs: | |
| test: | |
| name: Test (Apptainer) | |
| runs-on: self-hosted | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: stable | |
| components: rustfmt, clippy | |
| override: true | |
| - name: Build Repository Container | |
| run: | | |
| echo "Building container with current repository" | |
| make build-apptainer | |
| - name: Run Container Tests | |
| run: | | |
| cd vm/apptainer | |
| apptainer test /tmp/assassyn.sif | |
| - name: Run pytest tests | |
| run: | | |
| apptainer exec /tmp/assassyn.sif pytest -n 8 python/ci-tests python/unit-tests | |
| - name: Cleanup Containers | |
| if: always() | |
| run: | | |
| echo "Cleaning up containers" | |
| rm -f /tmp/assassyn.sif | |
| rm -f /tmp/repo.sif | |
| rm -f /tmp/repo.tar.gz | |
| echo "Cleaned up all containers" |