Skip to content

Commit

Permalink
feat: implement SQL variants for E2E tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wolf4ood committed Jul 17, 2024
1 parent 544de9d commit c8e5cbb
Show file tree
Hide file tree
Showing 13 changed files with 1,942 additions and 1,535 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,20 @@ jobs:
with:
command: ./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
Expand Down
130 changes: 63 additions & 67 deletions DEPENDENCIES

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions e2e-tests/api-tests/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,15 @@ dependencies {
testImplementation(libs.restAssured)
testImplementation(libs.awaitility)
testImplementation(libs.testcontainers.junit)
testImplementation(libs.testcontainers.postgres)

// needed for the Participant
testImplementation(project(":core:lib:credential-query-lib"))
testImplementation(testFixtures(project(":spi:verifiable-credential-spi")))
testImplementation(testFixtures(libs.edc.testfixtures.managementapi))
testImplementation(testFixtures(libs.edc.core.sql))
testImplementation(libs.edc.ext.transaction.local)
testImplementation(libs.edc.sql.pool)
testImplementation(libs.nimbus.jwt)
testImplementation(libs.jakarta.rsApi)
}
Expand Down
Loading

0 comments on commit c8e5cbb

Please sign in to comment.