Skip to content

Commit b3d7ac1

Browse files
committed
ci: Run End-to-End Tests for Debug and Release Configurations
Motivation ---------- It looks like building images with containertool on Linux fails downloading the base image `swift:slim` from dockerhub. Modifications ------------- Update end to end and integration workflows to test both `scratch` and `swift:slim` base images. Result ------ End-to-End Tests will now fail in release configuration. Test Plan --------- Other tests are not affected by this.
1 parent 2c5e654 commit b3d7ac1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/endtoend_tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ jobs:
2121
- 5000:5000
2222
strategy:
2323
matrix:
24+
from:
25+
- scratch
26+
- swift:slim
2427
example:
2528
- Examples/HelloWorldVapor
2629
- Examples/HelloWorldHummingbird
@@ -52,7 +55,7 @@ jobs:
5255
--allow-network-connections all \
5356
build-container-image \
5457
--repository localhost:5000/example \
55-
--from scratch
58+
--from ${{ matrix.from }}
5659
5760
- name: Run the example
5861
run: |

0 commit comments

Comments
 (0)