Skip to content

Commit f64cfac

Browse files
laeubiakurtakov
authored andcommitted
Upload eventfile and unit test results
1 parent 534beba commit f64cfac

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,15 @@ on:
88
branches: '**'
99

1010
jobs:
11+
event_file:
12+
name: "Upload Event File"
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Upload
16+
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
17+
with:
18+
name: Event File
19+
path: ${{ github.event_path }}
1120
build:
1221
runs-on: ubuntu-latest
1322
steps:
@@ -35,3 +44,11 @@ jobs:
3544
run: |
3645
mvn clean install --batch-mode -f org.eclipse.jdt.core.compiler.batch -DlocalEcjVersion=99.99
3746
mvn -U clean verify --batch-mode --fail-at-end -Ptest-on-javase-20 -Pbree-libs -Papi-check -Djava.io.tmpdir=$WORKSPACE/tmp -Dproject.build.sourceEncoding=UTF-8 -Dtycho.surefire.argLine="--add-modules ALL-SYSTEM -Dcompliance=1.8,11,17,20 -Djdt.performance.asserts=disabled" -Dcbi-ecj-version=99.99
47+
- name: Upload Test Results for Linux
48+
if: always()
49+
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
50+
with:
51+
name: test-results-linux
52+
if-no-files-found: warn
53+
path: |
54+
${{ github.workspace }}/**/target/surefire-reports/*.xml

0 commit comments

Comments
 (0)