-
Notifications
You must be signed in to change notification settings - Fork 39
36 lines (33 loc) · 1.18 KB
/
publish-test-reports.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Licensed to the Apache Software Foundation (ASF) under one or more
# license agreements; and to You under the Apache License, version 2.0:
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# This file is part of the Apache Pekko project, which was derived from Akka.
#
name: 'Publish Test Reports'
on:
workflow_run:
workflows: ['Validate and test'] # runs after CI workflow
types:
- completed
jobs:
publish-test-results:
name: "Publish details with dorny-test-reporter"
runs-on: ubuntu-latest
if: github.repository == 'apache/pekko-http'
strategy:
fail-fast: false
matrix:
SCALA_VERSION: [ 2.12, 2.13, 3 ]
JDK: [ 8, 11 ]
steps:
- uses: dorny/test-reporter@v1
# avoid excessive notification spam, fail-on-error seems broken https://github.com/dorny/test-reporter/issues/161
continue-on-error: true
with:
artifact: test-results-${{ matrix.JDK }}-${{ matrix.SCALA_VERSION }}
name: Test Results Details / Scala ${{ matrix.SCALA_VERSION }} on JDK ${{ matrix.JDK }}
fail-on-error: false
path: '**/target/test-reports/*.xml'
reporter: java-junit