mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-05 20:45:29 -04:00
#661: JUnit test results take 4
This commit is contained in:
parent
5a563e315f
commit
92632fa2a3
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@ -26,10 +26,10 @@ jobs:
|
|||||||
if: ${{ !cancelled() }}
|
if: ${{ !cancelled() }}
|
||||||
with:
|
with:
|
||||||
report_paths: "**/target/surefire-reports/TEST*.xml"
|
report_paths: "**/target/surefire-reports/TEST*.xml"
|
||||||
check_name: OpenJDK ${{ matrix.java }} on ${{ matrix.os }}
|
check_name: Unit Test Results for OpenJDK ${{ matrix.java }} on ${{ matrix.os }}
|
||||||
|
|
||||||
test_oracle:
|
test_oracle:
|
||||||
name: Test Oracle JDK 8 KCMS=${{ matrix.kcms }}
|
name: Test Oracle JDK 8 with KCMS=${{ matrix.kcms }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@ -58,7 +58,7 @@ jobs:
|
|||||||
if: ${{ !cancelled() }}
|
if: ${{ !cancelled() }}
|
||||||
with:
|
with:
|
||||||
report_paths: "**/target/surefire-reports/TEST*.xml"
|
report_paths: "**/target/surefire-reports/TEST*.xml"
|
||||||
check_name: Oracle JDK 8 KCMS=${{ matrix.kcms }}
|
check_name: Unit Test Results for Oracle JDK 8 with KCMS=${{ matrix.kcms }}
|
||||||
|
|
||||||
release:
|
release:
|
||||||
name: Deploy
|
name: Deploy
|
||||||
@ -67,7 +67,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up Apache Maven Central
|
- name: Set up Maven Central
|
||||||
uses: actions/setup-java@v2
|
uses: actions/setup-java@v2
|
||||||
with: # running setup-java again overwrites the settings.xml
|
with: # running setup-java again overwrites the settings.xml
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
@ -81,7 +81,7 @@ jobs:
|
|||||||
- name: Get Project Version
|
- name: Get Project Version
|
||||||
run: |
|
run: |
|
||||||
echo "PROJECT_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
|
echo "PROJECT_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
|
||||||
- name: Publish to Apache Maven Central
|
- name: Publish to Maven Central
|
||||||
if: ${{ endsWith(env.PROJECT_VERSION, '-SNAPSHOT') }}
|
if: ${{ endsWith(env.PROJECT_VERSION, '-SNAPSHOT') }}
|
||||||
run: mvn deploy -P release -DskipTests
|
run: mvn deploy -P release -DskipTests
|
||||||
env:
|
env:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user