From d8354b8f1b2bbb6d911070ca9822c7e4fbd88bca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Sat, 8 Nov 2025 19:50:57 +0100 Subject: Options to select rerun behavior Changelog: Added `--rerun-*` command-line options to configure which jobs should be rerun --- test/asset/run/rerun.yaml | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 test/asset/run/rerun.yaml (limited to 'test/asset') diff --git a/test/asset/run/rerun.yaml b/test/asset/run/rerun.yaml new file mode 100644 index 0000000..dc18b41 --- /dev/null +++ b/test/asset/run/rerun.yaml @@ -0,0 +1,45 @@ +job first: + shell: + - touch x + + artifact out: + path: x + + +job second: + uses: + - first.out + + shell: + - mv x y + + artifact out: + path: y + + +job first_fail: + shell: + - "false" + + artifact out: + path: x + + +job second_skip: + uses: + - first_fail.out + + shell: + - "true" + + artifact out: + path: y + + +job third: + uses: + - second.out + - second_skip.out + + shell: + - "true" -- cgit v1.2.3