13
13
- main
14
14
- ' releases/**'
15
15
- ' release/**'
16
- - ' feature/**'
16
+ - ' feature/**'
17
17
merge_group :
18
18
branches :
19
19
- main
20
-
20
+
21
21
workflow_call : # Allow to be called from the release workflow
22
22
schedule :
23
23
- cron : ' 31 15 * * 0' # Run periodically to keep CodeQL database updated
84
84
- name : Test
85
85
run : dotnet test --no-build --configuration Release --settings ./build/targets/tests/test.runsettings
86
86
87
+ - name : Upload binlogs
88
+ uses : actions/upload-artifact@v4
89
+ if : success() || failure()
90
+ with :
91
+ name : binlogs-${{ matrix.os }}
92
+ path : ./artifacts/logs
93
+ if-no-files-found : error
94
+
87
95
- name : Upload *.received.* files
88
96
uses : actions/upload-artifact@v4
89
97
if : failure()
@@ -92,6 +100,14 @@ jobs:
92
100
path : |
93
101
**/*.received.*
94
102
103
+ - name : Upload *.SquiggleCop.* files
104
+ uses : actions/upload-artifact@v4
105
+ if : failure()
106
+ with :
107
+ name : squigglecop-results
108
+ path : |
109
+ **/SquiggleCop.*.*
110
+
95
111
- name : Upload SARIF files
96
112
uses : actions/upload-artifact@v4
97
113
if : success() || failure()
@@ -118,24 +134,15 @@ jobs:
118
134
run : cat artifacts/TestResults/coverage/SummaryGithub.md >> $GITHUB_STEP_SUMMARY
119
135
shell : bash
120
136
121
- - name : Upload coverage data to Codacy
137
+ - name : Upload coverage data to Codacy
122
138
if : ${{ runner.os == 'Linux' && env.IS_COVERAGE_ALLOWED == 'true' }}
123
139
124
140
with :
125
141
project-token : ${{ secrets.CODACY_PROJECT_TOKEN }}
126
142
coverage-reports : ${{ github.workspace }}/artifacts/TestResults/coverage/Cobertura.xml
127
143
128
- - name : Upload binlogs
129
- uses : actions/upload-artifact@v4
130
- if : success() || failure()
131
- with :
132
- name : binlogs-${{ matrix.os }}
133
- path : ./artifacts/logs
134
- if-no-files-found : error
135
-
136
144
- name : Upload packages
137
145
uses : actions/upload-artifact@v4
138
- if : success()
139
146
with :
140
147
name : packages-${{ matrix.os }}
141
148
path : |
@@ -145,7 +152,7 @@ jobs:
145
152
- name : Validate performance
146
153
shell : pwsh
147
154
# Uses ETL which needs Windows
148
- if : ${{ runner.os == 'Windows' }}
155
+ if : ${{ runner.os == 'Windows' }}
149
156
run : ${{ github.workspace }}/build/scripts/perf/PerfCore.ps1 -v diag -diff -ci
150
157
151
158
- name : Perform CodeQL Analysis
0 commit comments