Skip to content

Commit 1af0b50

Browse files
committed
Properly publish CI results
1 parent 6a0d6ed commit 1af0b50

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,19 @@ jobs:
6767
run: $GHIDRA_INSTALL_DIR/support/sleigh $GHIDRA_INSTALL_DIR/Ghidra/Processors/x86/data/languages/x86-64.slaspec
6868

6969
- name: Run tests
70-
run: xvfb-run ./gradlew test --info
70+
run: xvfb-run ./gradlew test
71+
72+
- name: Upload test results
73+
if: always()
74+
uses: actions/upload-artifact@v4
75+
with:
76+
name: test-results-ghidra-${{ matrix.ghidra }}
77+
path: build/reports/tests/test/
78+
79+
- name: Publish test report
80+
if: always()
81+
uses: dorny/test-reporter@v1
82+
with:
83+
name: Tests (Ghidra ${{ matrix.ghidra }})
84+
path: build/test-results/test/*.xml
85+
reporter: java-junit

0 commit comments

Comments
 (0)