From 2cd53b0756c33c11255f3d0a10ba0f7f6ea890c3 Mon Sep 17 00:00:00 2001 From: ndr_brt Date: Thu, 22 Aug 2024 09:58:16 +0200 Subject: [PATCH] ci: cleanup --- .github/workflows/verify.yaml | 39 +++-------------------------------- 1 file changed, 3 insertions(+), 36 deletions(-) diff --git a/.github/workflows/verify.yaml b/.github/workflows/verify.yaml index 59125f618..e3fde087e 100644 --- a/.github/workflows/verify.yaml +++ b/.github/workflows/verify.yaml @@ -18,7 +18,6 @@ jobs: steps: - uses: actions/checkout@v4 - uses: eclipse-edc/.github/.github/actions/setup-build@main - - name: Run Checkstyle run: ./gradlew checkstyleMain checkstyleTest checkstyleTestFixtures @@ -35,7 +34,6 @@ jobs: steps: - uses: actions/checkout@v4 - uses: eclipse-edc/.github/.github/actions/setup-build@main - - name: Run Javadoc run: ./gradlew javadoc @@ -73,61 +71,30 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: eclipse-edc/.github/.github/actions/setup-build@main - - name: 'Unit and system tests' - uses: eclipse-edc/.github/.github/actions/run-tests@main - with: - command: ./gradlew test + run: ./gradlew test timeout-minutes: 10 env: INTEGRATION_TEST: true - JACOCO: "true" Integration-Tests: runs-on: ubuntu-latest - env: - JACOCO: true - steps: - uses: actions/checkout@v4 - uses: eclipse-edc/.github/.github/actions/setup-build@main - name: Component Tests - uses: eclipse-edc/.github/.github/actions/run-tests@main - with: - command: ./gradlew compileJava compileTestJava test -DincludeTags="ComponentTest,ApiTest,EndToEndTest" + run: ./gradlew compileJava compileTestJava test -DincludeTags="ComponentTest,ApiTest,EndToEndTest" Postgresql-Integration-Tests: runs-on: ubuntu-latest - env: - JACOCO: true - steps: - uses: actions/checkout@v4 - uses: eclipse-edc/.github/.github/actions/setup-build@main - name: Postgresql Tests - uses: eclipse-edc/.github/.github/actions/run-tests@main - with: - command: ./gradlew test -DincludeTags="PostgresqlIntegrationTest" - - Upload-Coverage-Report-To-Codecov: - needs: - - Test - - Integration-Tests - runs-on: ubuntu-latest - if: always() - steps: - # Sources are needed for Codecov report - - uses: actions/checkout@v4 - - name: Download Artifacts - uses: actions/download-artifact@v4 - with: - path: artifacts - - name: CodeCov - uses: codecov/codecov-action@v4 + run: ./gradlew test -DincludeTags="PostgresqlIntegrationTest" Verify-OpenApi: if: github.event_name == 'pull_request'