Skip to content

Commit e647151

Browse files
Prevent test result namespace collisions (#310)
1 parent 33de1d7 commit e647151

File tree

5 files changed

+17
-17
lines changed

5 files changed

+17
-17
lines changed

.github/workflows/build-dotnet.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ jobs:
5252
- name: Download Artifacts
5353
uses: actions/download-artifact@v2
5454
with:
55-
path: artifacts
55+
path: dotnet_artifacts
5656
- name: Publish Test Report - .NET
5757
uses: EnricoMi/[email protected]
5858
with:
59-
files: 'artifacts/**/*.xml'
59+
files: 'dotnet_artifacts/**/*.xml'
6060
check_name: .NET Test Report

.github/workflows/build-golang.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ on:
1010
jobs:
1111
build-and-test-golang:
1212
name: Build, Test
13-
runs-on: ${{ matrix.os-artifact[0] }}
13+
runs-on: ${{ matrix.os[0] }}
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
os-artifact: [ [ubuntu-latest, linux], [windows-latest, windows-gnu], [macos-latest, macos] ]
17+
os: [ ubuntu-latest, windows-latest, macos-10.15 ]
1818
steps:
1919
- uses: actions/checkout@v2
2020
- name: Download workflow artifact
@@ -50,7 +50,7 @@ jobs:
5050
if: always()
5151
uses: actions/upload-artifact@v2
5252
with:
53-
name: Golang Unit Test Results (${{ matrix.os-artifact[0] }})
53+
name: Golang Unit Test Results (${{ matrix.os[0] }})
5454
path: 'go/okapi/test_output*.xml'
5555

5656
publish-test-results-golang:
@@ -63,9 +63,9 @@ jobs:
6363
- name: Download Artifacts
6464
uses: actions/download-artifact@v2
6565
with:
66-
path: artifacts
66+
path: golang_artifacts
6767
- name: Publish Test Report - Golang
6868
uses: EnricoMi/[email protected]
6969
with:
70-
files: 'artifacts/**/*.xml'
70+
files: 'golang_artifacts/**/*.xml'
7171
check_name: Golang Test Report

.github/workflows/build-java.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ on:
1010
jobs:
1111
build-and-test-java:
1212
name: Build, Test
13-
runs-on: ${{ matrix.os-artifact[0] }}
13+
runs-on: ${{ matrix.os[0] }}
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
os-artifact: [ [ubuntu-latest, linux], [windows-latest, windows], [macos-latest, macos] ]
17+
os: [ ubuntu-latest, windows-latest, macos-10.15 ]
1818

1919
steps:
2020
- uses: actions/checkout@v2
@@ -47,7 +47,7 @@ jobs:
4747
if: always()
4848
uses: actions/upload-artifact@v2
4949
with:
50-
name: Java Unit Test Results (${{ matrix.os-artifact[0] }})
50+
name: Java Unit Test Results (${{ matrix.os[0] }})
5151
path: 'java/build/test-results/test/TEST-*.xml'
5252

5353
publish-test-results-java:
@@ -60,9 +60,9 @@ jobs:
6060
- name: Download Artifacts
6161
uses: actions/download-artifact@v2
6262
with:
63-
path: artifacts
63+
path: java_artifacts
6464
- name: Publish Test Report - Java
6565
uses: EnricoMi/[email protected]
6666
with:
67-
files: 'artifacts/**/*.xml'
67+
files: 'java_artifacts/**/*.xml'
6868
check_name: Java Test Report

.github/workflows/build-python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ jobs:
6464
- name: Download Artifacts
6565
uses: actions/download-artifact@v2
6666
with:
67-
path: artifacts
67+
path: python_artifacts
6868
- name: Publish Test Report - Python
6969
uses: EnricoMi/[email protected]
7070
with:
71-
files: 'artifacts/**/*.xml'
71+
files: 'python_artifacts/**/*.xml'
7272
check_name: Python Test Report

.github/workflows/build-ruby.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
os: [ ubuntu-latest, windows-latest, macos-latest ]
17+
os: [ ubuntu-latest, windows-latest, macos-10.15 ]
1818
# Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
1919
ruby-version: [ '3.0' ]
2020

@@ -67,9 +67,9 @@ jobs:
6767
- name: Download Artifacts
6868
uses: actions/download-artifact@v2
6969
with:
70-
path: artifacts
70+
path: ruby_artifacts
7171
- name: Publish Test Report - Ruby
7272
uses: EnricoMi/[email protected]
7373
with:
74-
files: 'artifacts/**/*.xml'
74+
files: 'ruby_artifacts/**/*.xml'
7575
check_name: Ruby Test Report

0 commit comments

Comments
 (0)