From ed9a70a840b768e12a41fcba9f51a8ca794b3885 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 ba6514e..1ea3f68 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -80,6 +80,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 e86bf6c..66764fe 100644 --- a/.github/workflows/pymake-gcc.yml +++ b/.github/workflows/pymake-gcc.yml @@ -82,7 +82,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