Skip to content

Commit 55a141e

Browse files
authored
add problem report
1 parent 9acdf06 commit 55a141e

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/presubmit.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,3 +143,27 @@ jobs:
143143
name: gradle-test-report-${{ matrix.dart-version }}-${{ matrix.os }}
144144
path: third_party/build/reports/tests/test/index.html
145145
retention-days: 7
146+
# Job 6: Upload Test Report
147+
upload-problems:
148+
needs: dart-analysis-server-tests
149+
strategy:
150+
matrix:
151+
# https://github.com/dart-lang/setup-dart
152+
# Define the Dart SDK versions to test against.
153+
# 'stable' and 'beta' will fetch the latest respective versions.
154+
# You can also specify exact versions like '3.0.0', '3.8.1'.
155+
# dart-version: ['3.0.0', 'stable', 'beta', 'dev' ]
156+
157+
# TODO(https://github.com/flutter/dart-intellij-third-party/issues/47)
158+
# Fix tests to run over additional operating systems as well as Dart SDK versions:
159+
dart-version: ['stable']
160+
os: [ macos-latest ]
161+
runs-on: ${{ matrix.os }} # Use the OS from the matrix
162+
steps:
163+
- name: Upload Problem Report Artifact
164+
uses: actions/upload-artifact@v4
165+
if: always() # IMPORTANT: Upload reports even if the tests fail
166+
with:
167+
name: gradle-problem-report-${{ matrix.dart-version }}-${{ matrix.os }}
168+
path: third_party/build/reports/problems/problems-report.html
169+
retention-days: 7

0 commit comments

Comments
 (0)