File tree Expand file tree Collapse file tree 2 files changed +35
-5
lines changed Expand file tree Collapse file tree 2 files changed +35
-5
lines changed Original file line number Diff line number Diff line change 17
17
# This workflow expects input values passed by nightly.yml.
18
18
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
19
19
20
- name : ' Nightly tests & scans – Pytest matrix'
21
- run-name : Run nightly Pytest
20
+ # The tilde is only to make our sub-workflows be listed last in the GitHub UI.
21
+ name : ' ~ Cirq version tests'
22
+ run-name : >-
23
+ Run tests using the ${{inputs.cirq-release}} version of Cirq ${{inputs.reason}}
22
24
23
25
on :
24
26
workflow_call :
27
29
args :
28
30
type : string
29
31
required : false
30
- # Why is this workflow being called?
32
+ # (For the job name) Why is this workflow being called?
31
33
reason :
32
34
type : string
33
35
required : false
36
+ # (For the job name) What version of Cirq will be used?
37
+ cirq-release :
38
+ type : string
39
+ required : false
34
40
35
41
# Allow manual invocation.
36
42
workflow_dispatch :
Original file line number Diff line number Diff line change @@ -34,14 +34,38 @@ permissions: read-all
34
34
jobs :
35
35
cirq-stable :
36
36
name : Nightly Pytest Cirq stable
37
- uses : ./.github/workflows/nightly-pytest .yaml
37
+ uses : ./.github/workflows/_nightly-cirq-test .yaml
38
38
with :
39
39
args : ' '
40
40
reason : ' (nightly)'
41
+ cirq-release : ' stable'
41
42
42
43
cirq-pre :
43
44
name : Nightly Pytest Cirq pre-release
44
- uses : ./.github/workflows/nightly-pytest .yaml
45
+ uses : ./.github/workflows/_nightly-cirq-test .yaml
45
46
with :
46
47
args : ' --pre'
47
48
reason : ' (nightly)'
49
+ cirq-release : ' pre-release'
50
+
51
+ codeql :
52
+ name : Nightly CodeQL code scan
53
+ uses : ./.github/workflows/codeql.yaml
54
+ permissions : write-all
55
+ with :
56
+ reason : ' (nightly)'
57
+
58
+ osv :
59
+ name : Nightly OSV code scan
60
+ uses : ./.github/workflows/osv-scanner.yaml
61
+ permissions : write-all
62
+ with :
63
+ reason : ' (nightly)'
64
+
65
+ scorecard :
66
+ name : Nightly Scorecard analysis
67
+ uses : ./.github/workflows/scorecard.yaml
68
+ permissions : write-all
69
+ secrets : inherit
70
+ with :
71
+ reason : ' (nightly)'
You can’t perform that action at this time.
0 commit comments