Skip to content

Commit 7b9760e

Browse files
authored
try inlining upload
1 parent cda38f9 commit 7b9760e

File tree

1 file changed

+7
-49
lines changed

1 file changed

+7
-49
lines changed

.github/workflows/presubmit.yaml

Lines changed: 7 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,13 @@ jobs:
9393
run: |
9494
./gradlew :test --tests "com.jetbrains.dart.analysisServer.*"
9595
working-directory: third_party
96-
96+
- name: Upload build reports
97+
uses: actions/upload-artifact@v4
98+
with:
99+
name: build
100+
path: |
101+
**/build/reports/
102+
**/build/test-results/
97103
# Job 4: Verify Plugin
98104
verify-plugin:
99105
needs: build-plugin
@@ -119,51 +125,3 @@ jobs:
119125
./gradlew verifyPluginSignature
120126
./gradlew verifyPluginStructure
121127
working-directory: third_party
122-
# Job 5: Upload Test Report
123-
upload-test-report:
124-
needs: dart-analysis-server-tests
125-
strategy:
126-
matrix:
127-
# https://github.com/dart-lang/setup-dart
128-
# Define the Dart SDK versions to test against.
129-
# 'stable' and 'beta' will fetch the latest respective versions.
130-
# You can also specify exact versions like '3.0.0', '3.8.1'.
131-
# dart-version: ['3.0.0', 'stable', 'beta', 'dev' ]
132-
133-
# TODO(https://github.com/flutter/dart-intellij-third-party/issues/47)
134-
# Fix tests to run over additional operating systems as well as Dart SDK versions:
135-
dart-version: ['stable']
136-
os: [ macos-latest ]
137-
runs-on: ${{ matrix.os }} # Use the OS from the matrix
138-
steps:
139-
- name: Upload Test Report Artifact
140-
uses: actions/upload-artifact@v4
141-
if: always() # IMPORTANT: Upload reports even if the tests fail
142-
with:
143-
name: gradle-test-report-${{ matrix.dart-version }}-${{ matrix.os }}
144-
path: Users/runner/work/dart-intellij-third-party/dart-intellij-third-party/third_party/build/reports/tests/test/index.html
145-
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: ///Users/runner/work/dart-intellij-third-party/dart-intellij-third-party/third_party/build/reports/problems/problems-report.html
169-
retention-days: 7

0 commit comments

Comments
 (0)