Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 568700668e | |||
| 9c56dc7d31 |
@@ -37,6 +37,21 @@ jobs:
|
|||||||
|
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew build --no-build-cache
|
run: ./gradlew build --no-build-cache
|
||||||
|
continue-on-error: true
|
||||||
|
|
||||||
|
- name: Upload JUnit test results
|
||||||
|
if: always()
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: junit-test-results
|
||||||
|
path: '**/build/test-results/test/TEST-*.xml'
|
||||||
|
retention-days: 7
|
||||||
|
|
||||||
|
- name: Check for test failures
|
||||||
|
if: failure()
|
||||||
|
run: |
|
||||||
|
echo "Tests failed. Please check the JUnit test results artifact for details."
|
||||||
|
exit 1
|
||||||
|
|
||||||
docker-compose-tests:
|
docker-compose-tests:
|
||||||
# if: github.event_name == 'push' && github.ref == 'refs/heads/main' ||
|
# if: github.event_name == 'push' && github.ref == 'refs/heads/main' ||
|
||||||
|
|||||||
Reference in New Issue
Block a user