diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..530fe02 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,21 @@ +# Any commit to master branch re-builds images, re-runs tests, and pushes SHA tags to DockerHub +name: Apptainer Test +on: + pull_request: + workflow_dispatch: + +jobs: + test-apptainer: + runs-on: ubuntu-latest + permissions: + contents: read + packages: write + strategy: + fail-fast: false + steps: + - uses: actions/checkout@v2 + - uses: eWaterCycle/setup-apptainer@v2 + with: + apptainer-version: 1.1.2 + - name: Run an apptainer container + run: apptainer run docker://alpine cat /etc/os-release