We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6628b10 commit 51ca49bCopy full SHA for 51ca49b
1 file changed
.github/workflows/docker-k8s.yml
@@ -1,4 +1,4 @@
1
-name: Test Docker and k8s
+name: Test Docker, Compose and k8s
2
3
on:
4
pull_request:
@@ -99,3 +99,18 @@ jobs:
99
test "$last_command" -eq 1
100
- name: Get GQL output
101
run: kubectl logs jobs/load-graphql
102
+ compose:
103
+ runs-on: ubuntu-latest
104
+ steps:
105
+ - name: Checkout
106
+ uses: actions/checkout@v4
107
+ with:
108
+ submodules: recursive
109
+ - name: Build dev environment
110
+ run: |
111
+ docker compose -f docker-compose.yml -f docker-compose-dev.yml up -d
112
+ sleep 30
113
+ - name: Assert containers running
114
115
+ last_command=$(docker ps | grep 'pokeapi-' | wc -l)
116
+ test "$last_command" -eq 5
0 commit comments