diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index a98592048..a05d48447 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -12,7 +12,7 @@ name: Create and publish a Docker image on: push: branches: - - feat/improve_docker_building + - feat/improve_docker_building workflow_dispatch: defaults: @@ -101,7 +101,7 @@ jobs: echo "${{ secrets.OE_LICENSE }}" > oe_license_dir/oe_license.txt docker run --rm ${{ steps.fqirp.outputs.FQIRP }} perses-cli --help # Mount oe_license_dir (which should have the license file) to /openeye on container for testing - #docker run -e GITHUB_ACTIONS=true --mount type=bind,source=$PWD/oe_license_dir/,target=/openeye/,readonly --rm ${{ steps.fqirp.outputs.FQIRP }} pytest --pyargs perses -a "not advanced" -n auto -m "not gpu_needed" -v + docker run -e GITHUB_ACTIONS=true --mount type=bind,source=$PWD/oe_license_dir/,target=/openeye/,readonly --rm ${{ steps.fqirp.outputs.FQIRP }} pytest --pyargs perses -a "not advanced" -n auto -m "not gpu_needed" -v - name: Push Docker image uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc @@ -124,6 +124,7 @@ jobs: - name: Test & Push Apptainer Image run: | + set -e mkdir test_apptainer cd test_apptainer singularity run ../perses_${{ steps.latest-version.outputs.VERSION }}.sif perses-cli --help