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:
Earl Warren 2024-10-15 13:42:20 +03:00
parent 800cfcc0a8
commit f7d1900c5b
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -117,7 +117,14 @@ function test_actions() {
done done
fi 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 run actions_verify_example $example
done done
@ -140,7 +147,6 @@ function test_actions() {
fi fi
if dpkg --compare-versions $version ge 9.0; then if dpkg --compare-versions $version ge 9.0; then
run actions_verify_feature logs-compression
run actions_verify_example schedule-noncancel run actions_verify_example schedule-noncancel
fi fi
done done