File tree 6 files changed +274
-5
lines changed
ddev/src/ddev/cli/validate
6 files changed +274
-5
lines changed Original file line number Diff line number Diff line change
1
+ name : Daily Flaky Tests (every 8 hours)
2
+
3
+ on :
4
+ schedule :
5
+ # 4 AM, 12 PM, 8 PM UTC
6
+ - cron : " 0 4,12,20 * * *"
7
+
8
+ jobs :
9
+ cache :
10
+ uses : ./.github/workflows/cache-shared-deps.yml
11
+
12
+ test :
13
+ needs :
14
+ - cache
15
+
16
+ uses : ./.github/workflows/test-all.yml
17
+ with :
18
+ repo : core
19
+
20
+ # Options
21
+ standard : true
22
+ # Because -m starts with a dash,
23
+ # click (the library used to build the CLI) will
24
+ # interpret it as an option, not as an argument.
25
+ # To avoid this, using -- syntax,
26
+ # which tells the command that everything following it
27
+ # should be treated as positional arguments, not options
28
+ pytest-args : ' -m flaky'
29
+ secrets : inherit
30
+
31
+ publish-test-results :
32
+ needs :
33
+ - test
34
+ if : success() || failure()
35
+ concurrency :
36
+ group : test-results
37
+
38
+ uses : ./.github/workflows/test-results-master.yml
39
+ secrets : inherit
40
+
41
+ submit-traces :
42
+ needs :
43
+ - test
44
+ if : success() || failure()
45
+
46
+ uses : ./.github/workflows/submit-traces.yml
47
+ secrets : inherit
Original file line number Diff line number Diff line change 19
19
20
20
# Options
21
21
standard : true
22
+ # Because -m starts with a dash,
23
+ # click (the library used to build the CLI) will
24
+ # interpret it as an option, not as an argument.
25
+ # To avoid this, using -- syntax,
26
+ # which tells the command that everything following it
27
+ # should be treated as positional arguments, not options
28
+ pytest-args : ' -m "not flaky"'
22
29
secrets : inherit
23
30
24
31
publish-test-results :
Original file line number Diff line number Diff line change 15
15
required : false
16
16
default : " "
17
17
type : string
18
+ pytest-args :
19
+ description : " Arguments to pass to pytest"
20
+ required : false
21
+ type : string
22
+ default : " "
18
23
19
24
jobs :
20
25
compute-matrix :
47
52
# For other repositories
48
53
setup-env-vars : " ${{ inputs.setup-env-vars }}"
49
54
python-version : " ${{ inputs.python-version }}"
55
+ pytest-args : ${{ inputs.pytest-args }}
50
56
secrets : inherit
51
57
52
58
save-event :
You can’t perform that action at this time.
0 commit comments