Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
whyoleg committed Mar 2, 2024
1 parent df5fa4b commit ed31d14
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,21 @@ defaults:
shell: bash

jobs:
build-project:
name: Build project on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ 'ubuntu-latest', 'macos-14', 'windows-latest' ]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-gradle
with:
cache-read-only: ${{ github.ref_name != 'main' }}

- run: ./gradlew build publishToMavenLocal --continue -Pckbuild.skipTests=true

run-tests:
runs-on: ${{ matrix.os }}
strategy:
Expand Down Expand Up @@ -34,7 +49,7 @@ jobs:
- if: always() && !cancelled()
uses: actions/upload-artifact@v4
with:
name: test-reports-${{ matrix.target }}
name: test-reports-${{ matrix.os }}-${{ matrix.target }}
path: "**/build/test-results/*Test/TEST-*.xml"
retention-days: 1

Expand All @@ -56,18 +71,3 @@ jobs:
uses: EnricoMi/publish-unit-test-result-action@v2
with:
files: test-reports/**/TEST-*.xml

build-project:
name: Build project on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ 'ubuntu-latest', 'macos-14', 'windows-latest' ]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-gradle
with:
cache-read-only: ${{ github.ref_name != 'main' }}

- run: ./gradlew build publishToMavenLocal --continue -Pckbuild.skipTests=true

0 comments on commit ed31d14

Please sign in to comment.