We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0467e06 commit ac52f32Copy full SHA for ac52f32
.github/workflows/test.yml
@@ -12,6 +12,8 @@ jobs:
12
version: v2.36.0
13
- name: docker compose up
14
run: docker compose up -d --build
15
+ - name: wait for container setup
16
+ run: sleep 2
17
- name: run tests
18
run: docker compose exec shell-dev-tools bashunit
19
tests/docker_test.sh
@@ -18,6 +18,6 @@ test_dockerll() {
# output shell-dev-tools container
local second_line=$(echo "$output" | sed -n '2p') # @TODO: what if it's not the 2. line?
20
assert_contains "shell-dev-tools " "$second_line"
21
- assert_matches " Up [0-9]+ minutes " "$second_line"
+ assert_matches " Up [0-9]+ (seconds|minutes) " "$second_line"
22
assert_contains " shell-dev-tools_default" "$second_line"
23
}
0 commit comments