diff options
| author | Roman Smrž <roman.smrz@seznam.cz> | 2025-11-08 19:50:57 +0100 |
|---|---|---|
| committer | Roman Smrž <roman.smrz@seznam.cz> | 2025-11-08 21:43:28 +0100 |
| commit | d8354b8f1b2bbb6d911070ca9822c7e4fbd88bca (patch) | |
| tree | 202c03cc700e59106bc62f5d07068dd532a55c5e /test/asset | |
| parent | a8aeb1866b221b850a8ece13e1a9b9acca1dc1f9 (diff) | |
Options to select rerun behavior
Changelog: Added `--rerun-*` command-line options to configure which jobs should be rerun
Diffstat (limited to 'test/asset')
| -rw-r--r-- | test/asset/run/rerun.yaml | 45 |
1 files changed, 45 insertions, 0 deletions
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" |