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.
2 parents 6628b10 + e8c351e commit fa37697Copy full SHA for fa37697
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,16 @@ 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
+ - name: Build dev environment
108
+ run: |
109
+ docker compose -f docker-compose.yml -f docker-compose-dev.yml up -d
110
+ sleep 30
111
+ - name: Assert containers running
112
113
+ last_command=$(docker ps | grep 'pokeapi-' | wc -l)
114
+ test "$last_command" -eq 5
0 commit comments