Fix Markdown #201
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: Build Singularity container | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build_singularity: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| strategy: | |
| matrix: | |
| singularity_version: | |
| - '3.8.1' | |
| container: | |
| image: quay.io/singularity/singularity:v${{ matrix.singularity_version }} | |
| options: --privileged | |
| env: | |
| GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Show singularity version | |
| run: singularity version | |
| - name: Build container | |
| run: ./scripts/build_singularity_container.sh | |
| - name: Test container, must detect BEAST2 | |
| run: singularity test beastier.sif | |
| - name: Show help of container | |
| run: singularity run-help beastier.sif | |
| - name: Run container | |
| run: ./scripts/run_container.sh | |