Skip to content

Commit c178ef8

Browse files
committed
Merge
2 parents 6e19f08 + 4767c48 commit c178ef8

File tree

2 files changed

+1677
-13
lines changed

2 files changed

+1677
-13
lines changed

Diff for: .github/workflows/main.yml

+20-13
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ on:
1313
- main
1414
- 'releases/**'
1515
- 'release/**'
16-
- 'feature/**'
16+
- 'feature/**'
1717
merge_group:
1818
branches:
1919
- main
20-
20+
2121
workflow_call: # Allow to be called from the release workflow
2222
schedule:
2323
- cron: '31 15 * * 0' # Run periodically to keep CodeQL database updated
@@ -84,6 +84,14 @@ jobs:
8484
- name: Test
8585
run: dotnet test --no-build --configuration Release --settings ./build/targets/tests/test.runsettings
8686

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+
8795
- name: Upload *.received.* files
8896
uses: actions/upload-artifact@v4
8997
if: failure()
@@ -92,6 +100,14 @@ jobs:
92100
path: |
93101
**/*.received.*
94102
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+
95111
- name: Upload SARIF files
96112
uses: actions/upload-artifact@v4
97113
if: success() || failure()
@@ -118,24 +134,15 @@ jobs:
118134
run: cat artifacts/TestResults/coverage/SummaryGithub.md >> $GITHUB_STEP_SUMMARY
119135
shell: bash
120136

121-
- name: Upload coverage data to Codacy
137+
- name: Upload coverage data to Codacy
122138
if: ${{ runner.os == 'Linux' && env.IS_COVERAGE_ALLOWED == 'true' }}
123139
uses: codacy/[email protected]
124140
with:
125141
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
126142
coverage-reports: ${{ github.workspace }}/artifacts/TestResults/coverage/Cobertura.xml
127143

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-
136144
- name: Upload packages
137145
uses: actions/upload-artifact@v4
138-
if: success()
139146
with:
140147
name: packages-${{ matrix.os }}
141148
path: |
@@ -145,7 +152,7 @@ jobs:
145152
- name: Validate performance
146153
shell: pwsh
147154
# Uses ETL which needs Windows
148-
if: ${{ runner.os == 'Windows' }}
155+
if: ${{ runner.os == 'Windows' }}
149156
run: ${{ github.workspace }}/build/scripts/perf/PerfCore.ps1 -v diag -diff -ci
150157

151158
- name: Perform CodeQL Analysis

0 commit comments

Comments
 (0)