actions: logs-compression check depends on echo
There is no guarantee that a test will not reset the actions logs from a previous test. Since logs-compression depends on the logs from the echo test, make that dependency explicit.
This commit is contained in:
parent
800cfcc0a8
commit
f7d1900c5b
1 changed files with 8 additions and 2 deletions
|
@ -117,7 +117,14 @@ function test_actions() {
|
|||
done
|
||||
fi
|
||||
|
||||
for example in echo cache checkout service container expression local-action docker-action if if-fail push tag push-cancel artifacts pull-request context; do
|
||||
run actions_verify_example echo
|
||||
if dpkg --compare-versions $version ge 9.0; then
|
||||
# depends on run actions_verify_example echo
|
||||
# run it immediately after
|
||||
run actions_verify_feature logs-compression
|
||||
fi
|
||||
|
||||
for example in cache checkout service container expression local-action docker-action if if-fail push tag push-cancel artifacts pull-request context; do
|
||||
run actions_verify_example $example
|
||||
done
|
||||
|
||||
|
@ -140,7 +147,6 @@ function test_actions() {
|
|||
fi
|
||||
|
||||
if dpkg --compare-versions $version ge 9.0; then
|
||||
run actions_verify_feature logs-compression
|
||||
run actions_verify_example schedule-noncancel
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Add table
Reference in a new issue