Skip to content

Commit

Permalink
ci(github): isolate container test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasduteil committed Feb 7, 2025
1 parent 989723a commit b49423d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Container Tests

jobs:
integration_test:
name: 🚥 Container test
needs:
- Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: docker pull ghcr.io/${{ github.repository }}:${{ github.sha }}
- name: 🚥 Run Container Tests
uses: docker://gcr.io/gcp-runtimes/container-structure-test:v1.15.0
with:
args: test --config container-structure-test.yml --image ghcr.io/${{ github.repository }}:${{ github.sha }} --verbosity debug
13 changes: 0 additions & 13 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,3 @@ jobs:
cache-to: type=registry,ref=ghcr.io/${{ github.repository }}:buildcache,mode=max
build-args: |
SOURCE_COMMIT=${{ github.sha }}
integration_test:
name: 🚥 Integration test
needs:
- Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: docker pull ghcr.io/${{ github.repository }}:${{ github.sha }}
- name: 🚥 Run Container Tests
uses: docker://gcr.io/gcp-runtimes/container-structure-test:v1.15.0
with:
args: test --config container-structure-test.yml --image ghcr.io/${{ github.repository }}:${{ github.sha }} --verbosity debug

0 comments on commit b49423d

Please sign in to comment.