CI: Upload test reports when failure occurs

This commit is contained in:
litetex 2022-03-26 19:57:17 +01:00
parent 804e57004f
commit 93d6e5c4d5
1 changed files with 7 additions and 0 deletions

View File

@ -40,3 +40,10 @@ jobs:
echo running with mock downloader
./gradlew check --stacktrace -Ddownloader=MOCK
fi
- name: Upload test reports when failure occurs
uses: actions/upload-artifact@v3
if: failure()
with:
name: NewPipeExtractor-test-reports
path: extractor/build/reports/tests/test/**