Skip to content

Commit

Permalink
Potential fix for skipping jacoco
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCreosote committed Mar 19, 2024
1 parent fb92cf9 commit 7d75af3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,13 @@ jobs:
mongo: 'mongodb-linux-x86_64-ubuntu2204-7.0.4'
minio: '2019-05-23T00-29-34Z'
wired_tiger: 'true'
gradle_test: 'test'
# the current production setup
- java: '11'
mongo: 'mongodb-linux-x86_64-3.6.13'
minio: '2019-05-23T00-29-34Z'
wired_tiger: 'false'
gradle_test: 'testQuick'
steps:
- uses: actions/checkout@v3

Expand Down Expand Up @@ -147,7 +149,7 @@ jobs:
- name: Run tests
shell: bash
run: |
./gradlew testQuick
./gradlew ${{matrix.gradle_test}}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
Expand Down
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ task testQuick(type: Test) {
testClassesDirs = testing.suites.test.sources.output.classesDirs
classpath = testing.suites.test.sources.runtimeClasspath

useJUnit() // required for jacoco to work

filter {
excludeTestsMatching "*LongTest"
}
Expand Down

0 comments on commit 7d75af3

Please sign in to comment.