Skip to content

Commit 54f7d98

Browse files
committed
fix test for detecting cycles in random-ordered job dependencies
1 parent 57d84da commit 54f7d98

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
test.yaml:4:3: job "a" needs job "e" which does not exist in this workflow [job-needs]
1+
test.yaml:4:3: cyclic dependencies in "needs" job configurations are detected. detected cycle is "a" -> "b" -> "c" -> "d" -> "a" [job-needs]

testdata/err/random_order_cycle_in_needs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ on: push
22
jobs:
33
# Order of jobs is random
44
a:
5-
needs: [b, e]
5+
needs: [b]
66
runs-on: ubuntu-latest
77
steps:
88
- run: echo 'a'

0 commit comments

Comments
 (0)