Skip to content

Commit 3d82018

Browse files
authored
Merge pull request #1851 from OWASP/challenge51-verification
Automate docker compose testing for challenge51
2 parents 405e5c4 + 6b5de79 commit 3d82018

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/container_test.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This is a basic workflow to help you get started with Actions
1+
# This is a basic workflow to help you get started with Actions
22

33
name: Docker container test
44

@@ -32,3 +32,10 @@ jobs:
3232
with:
3333
name: e2e results
3434
path: src/test/e2e/cypress/reports/mochawesome/
35+
challenge_51_test:
36+
name: Challenge 51 compose test
37+
runs-on: ubuntu-latest
38+
steps:
39+
- uses: actions/checkout@v4
40+
- name: Run compose and print out service
41+
run: export DOCKER_BUILDKIT=1 && cd src/main/resources/challenges/challenge-51 && docker compose -f challenge51docker-compose.yml build && docker compose -f challenge51docker-compose.yml run myservice

0 commit comments

Comments
 (0)