Elffuss BraidHub

kikocis/EDC public

ci: cleanup
Changeset6e5c685ca4697c718e6e1b811639c2d02a600a335c81c0cc0acdcdcad75aa047
Authorndr_brt <andrea.bertagnolli@gmail.com> · 2024-08-22 09:55 +02:00
Committerndr_brt <andrea.bertagnolli@gmail.com> · 2024-08-22 09:55 +02:00
Parents660a652123db

Browse the files at this changeset

1 file changed

modified .github/workflows/verify.yaml +5 −70
@@ -21,7 +21,6 @@
2121 steps:
2222 - uses: actions/checkout@v4
2323 - uses: eclipse-edc/.github/.github/actions/setup-build@main
24-
2524 - name: Run Checkstyle
2625 run: ./gradlew checkstyleMain checkstyleTest checkstyleTestFixtures
2726
@@ -38,22 +37,16 @@
3837 steps:
3938 - uses: actions/checkout@v4
4039 - uses: eclipse-edc/.github/.github/actions/setup-build@main
41-
4240 - name: Run Javadoc
4341 run: ./gradlew javadoc
4442
4543 Unit-Tests:
4644 runs-on: ubuntu-latest
47- env:
48- JACOCO: true
4945 steps:
5046 - uses: actions/checkout@v4
5147 - uses: eclipse-edc/.github/.github/actions/setup-build@main
52-
5348 - name: Run unit tests
54- uses: eclipse-edc/.github/.github/actions/run-tests@main
55- with:
56- command: ./gradlew test jacocoTestReport
49+ run: ./gradlew test
5750
5851 Postgresql-Integration-Tests:
5952 runs-on: ubuntu-latest
@@ -69,11 +62,8 @@
6962 steps:
7063 - uses: actions/checkout@v4
7164 - uses: eclipse-edc/.github/.github/actions/setup-build@main
72-
7365 - name: Postgresql Tests
74- uses: eclipse-edc/.github/.github/actions/run-tests@main
75- with:
76- command: ./gradlew test -DincludeTags="PostgresqlIntegrationTest"
66+ run: ./gradlew test -DincludeTags="PostgresqlIntegrationTest"
7767
7868 End-To-End-Tests:
7969 runs-on: ubuntu-latest
@@ -81,79 +71,24 @@
8171 - uses: actions/checkout@v4
8272 - uses: eclipse-edc/.github/.github/actions/setup-build@main
8373 - name: End to End Integration Tests
84- uses: eclipse-edc/.github/.github/actions/run-tests@main
85- with:
86- command: ./gradlew test jacocoTestReport -DincludeTags="EndToEndTest"
74+ run: ./gradlew test -DincludeTags="EndToEndTest"
8775
8876 Component-Tests:
89- env:
90- JACOCO: true
9177 runs-on: ubuntu-latest
9278 steps:
9379 - uses: actions/checkout@v4
9480 - uses: eclipse-edc/.github/.github/actions/setup-build@main
9581
9682 - name: Component Tests
97- uses: eclipse-edc/.github/.github/actions/run-tests@main
98- with:
99- command: ./gradlew test jacocoTestReport -DincludeTags="ComponentTest"
83+ run: ./gradlew test -DincludeTags="ComponentTest"
10084
10185 API-Tests:
102- env:
103- JACOCO: true
10486 runs-on: ubuntu-latest
10587 steps:
10688 - uses: actions/checkout@v4
10789 - uses: eclipse-edc/.github/.github/actions/setup-build@main
108-
10990 - name: Component Tests
110- uses: eclipse-edc/.github/.github/actions/run-tests@main
111- with:
112- command: ./gradlew test jacocoTestReport -DincludeTags="ApiTest"
113-
114- Upload-Test-Report:
115- needs:
116- - API-Tests
117- - Component-Tests
118- - End-To-End-Tests
119- - Postgresql-Integration-Tests
120- - Unit-Tests
121-
122- permissions:
123- checks: write
124- pull-requests: write
125-
126- runs-on: ubuntu-latest
127- if: always()
128- steps:
129- - name: Download Artifacts
130- uses: actions/download-artifact@v4
131- with:
132- path: artifacts
133- - name: Publish Test Results
134- uses: EnricoMi/publish-unit-test-result-action@v2
135- if: always()
136- with:
137- junit_files: "**/test-results/**/*.xml"
138-
139- Upload-Coverage-Report-To-Codecov:
140- needs:
141- - API-Tests
142- - Unit-Tests
143- - Component-Tests
144- - End-To-End-Tests
145-
146- runs-on: ubuntu-latest
147- if: always()
148- steps:
149- # Sources are needed for Codecov report
150- - uses: actions/checkout@v4
151- - name: Download Artifacts
152- uses: actions/download-artifact@v4
153- with:
154- path: artifacts
155- - name: CodeCov
156- uses: codecov/codecov-action@v4
91+ run: ./gradlew test -DincludeTags="ApiTest"
15792
15893 Verify-OpenApi:
15994 if: github.event_name == 'pull_request'