Skip to content

Commit

Permalink
feat(integration-tests): Introduce generic matrix podman builds
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelsJP committed Mar 1, 2024
1 parent 3b3ce58 commit eb1ae50
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,17 +97,17 @@ jobs:
- name: Cache the docker image
uses: actions/cache@v4
with:
path: ${{ CONTAINER_CACHE }}
key: ${{ runner.os }}-tomcat-test-${{ CONTAINER_IMAGE }}
path: ${{ env.CONTAINER_CACHE }}
key: ${{ runner.os }}-tomcat-test-${{ env.CONTAINER_IMAGE }}
restore-keys: |
${{ runner.os }}-tomcat-test-
- name: Load the docker image from cache if available
run: |
if [ -f ${{ CONTAINER_CACHE }} ]; then
podman load -i ${{ CONTAINER_CACHE }} || { echo "Could not load the image from cache."; exit 1; }
if [ -f ${{ env.CONTAINER_CACHE }} ]; then
podman load -i ${{ env.CONTAINER_CACHE }} || { echo "Could not load the image from cache."; exit 1; }
fi
- name: Run integration tests
run: ./.integration-scenarios/debian-12-tomcat-war-systemd/run.sh -t -g '${{ matrix.test_case }}' -i ${{ CONTAINER_IMAGE }}
run: ./.integration-scenarios/debian-12-tomcat-war-systemd/run.sh -t -g '${{ matrix.test_case }}' -i ${{ env.CONTAINER_IMAGE }}

# debian-12-jar-mvn-run-tests:
# needs:
Expand Down

0 comments on commit eb1ae50

Please sign in to comment.