Skip to content

Commit

Permalink
[#12900] Gradle task componentTests should not stop entirely when onl…
Browse files Browse the repository at this point in the history
…y one task fails (#12963)
  • Loading branch information
emrekenar committed May 12, 2024
1 parent 34248a0 commit 1ea04f4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/component.yml
Expand Up @@ -93,7 +93,7 @@ jobs:
run: docker-compose run -d -p 8983:8983 solr
- name: Run Backend Tests
run: |
./gradlew createConfigs componentTests
./gradlew createConfigs componentTests --continue
./gradlew jacocoReport
- name: Generate Types
run: ./gradlew generateTypes
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/jdk17.yml
Expand Up @@ -31,4 +31,4 @@ jobs:
- name: Run Solr search service
run: docker-compose run -d -p 8983:8983 solr
- name: Run Backend Tests
run: ./gradlew createConfigs componentTests
run: ./gradlew createConfigs componentTests --continue
2 changes: 1 addition & 1 deletion .github/workflows/jdk21.yml
Expand Up @@ -31,4 +31,4 @@ jobs:
- name: Run Solr search service
run: docker-compose run -d -p 8983:8983 solr
- name: Run Backend Tests
run: ./gradlew createConfigs componentTests
run: ./gradlew createConfigs componentTests --continue
2 changes: 1 addition & 1 deletion docs/development.md
Expand Up @@ -326,7 +326,7 @@ Back-end component tests follow this configuration:

Test suite | Command | Results can be viewed in
---|---|---
`Component tests` | `./gradlew componentTests` | `{project folder}/build/reports/tests/componentTests/index.html`
`Component tests` | `./gradlew componentTests --continue` | `{project folder}/build/reports/tests/componentTests/index.html`
Any individual component test | `./gradlew componentTests --tests TestClassName` | `{project folder}/build/reports/tests/componentTests/index.html`

You can generate the coverage data with `jacocoReport` task after running tests, e.g.:
Expand Down

0 comments on commit 1ea04f4

Please sign in to comment.