From e853174832ca1980a57830dce39d502b99f056a2 Mon Sep 17 00:00:00 2001 From: Joseph D Hughes Date: Fri, 14 Jun 2024 14:22:08 -0500 Subject: [PATCH] * add task to save failure data --- .github/workflows/main.yml | 8 ++++++++ .github/workflows/pymake-gcc.yml | 10 +++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b050805..026c441 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -88,6 +88,14 @@ jobs: run: | pixi run build-all + - name: Upload failed test output + if: failure() + uses: actions/upload-artifact@v4 + with: + name: failed-${{ runner.os }}-intel + path: pymake/autotest/.failed + + - name: Print coverage report before upload run: | pixi run coverage-report diff --git a/.github/workflows/pymake-gcc.yml b/.github/workflows/pymake-gcc.yml index 01926d2..2efa963 100644 --- a/.github/workflows/pymake-gcc.yml +++ b/.github/workflows/pymake-gcc.yml @@ -85,7 +85,15 @@ jobs: if: ${{ github.event_name == 'schedule' }} run: | pixi run build-all - + + - name: Upload failed test output + if: failure() + uses: actions/upload-artifact@v4 + with: + name: failed-${{ runner.os }}-gcc + path: pymake/autotest/.failed + + - name: Print coverage report before upload run: | pixi run coverage-report