Merge pull request 'actions: run echo and compression tests first' (#326) from earl-warren/end-to-end:wip-compression into main

Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/326
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
This commit is contained in:
earl-warren 2024-11-11 08:24:49 +00:00
commit 60e90f5bc0

View file

@ -111,12 +111,6 @@ function test_actions() {
log_info "Testing actions with Forgejo $version & Forgejo runner $runner_version"
if dpkg --compare-versions $version ge 7.0 && dpkg --compare-versions $runner_version gt 3.3.0; then
for example in artifacts-v4; do
run actions_verify_example $example
done
fi
run actions_verify_example echo
if dpkg --compare-versions $version ge 9.0; then
# depends on run actions_verify_example echo
@ -124,6 +118,12 @@ function test_actions() {
run actions_verify_feature logs-compression
fi
if dpkg --compare-versions $version ge 7.0 && dpkg --compare-versions $runner_version gt 3.3.0; then
for example in artifacts-v4; do
run actions_verify_example $example
done
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