Always attach test results to PR builds
Previously the test results were only attached to passing builds, which is, like, the opposite of useful. Also finally figured out how to nerf the local docker layer cache. Recorded this new knowledge as make commands.
This commit is contained in:
parent
49deb77fd3
commit
0db6a745dc
3
.github/workflows/ci-workflow.yml
vendored
3
.github/workflows/ci-workflow.yml
vendored
@ -44,7 +44,8 @@ jobs:
|
||||
- name: Make build
|
||||
run: make build
|
||||
- name: Publish Test Report
|
||||
uses: scacap/action-surefire-report@v1.0.7
|
||||
uses: scacap/action-surefire-report@v1.0.9
|
||||
if: ${{ always() }}
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
report_paths: '**/target/surefire-reports/TEST-*.xml'
|
||||
|
5
Makefile
5
Makefile
@ -16,6 +16,9 @@ clean:
|
||||
docker rm -fv build-container-dbg
|
||||
docker rm -fv build-container
|
||||
|
||||
clean-layer-cache:
|
||||
docker builder prune -f -a
|
||||
|
||||
build: image
|
||||
docker create --name build-container netty-incubator-buffer:build
|
||||
mkdir -p target/container-output
|
||||
@ -23,3 +26,5 @@ build: image
|
||||
docker wait build-container || (docker cp build-container:/home/build target/container-output && false)
|
||||
docker cp build-container:/home/build/target .
|
||||
docker rm build-container
|
||||
|
||||
rebuild: clean clean-layer-cache build
|
||||
|
Loading…
x
Reference in New Issue
Block a user