Skip to content

Commit

Permalink
Try combined test assets
Browse files Browse the repository at this point in the history
  • Loading branch information
pcolby committed Nov 21, 2023
1 parent 167dbbe commit 2e8ff97
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,16 @@ jobs:
${{ runner.temp }}/removeHtmlDates.sh
${{ runner.temp }}/test/**/*.tap
if-no-files-found: ignore
- name: Prep combined test results
run: |
shopt -s extglob
mkdir -p "$RUNNER_TEMP/test-results-linux-${{ matrix.env.cc }}"
cp -a "$RUNNER_TEMP"/{coverage.info,removeHtmlDates.sh,test/**/*.tap} "$_"
- name: Upload combined test results
uses: actions/upload-artifact@v3
with:
name: test-results-combined
path: ${{ runner.temp }}/test-results-linux-${{ matrix.env.cc }}
- name: Report parallel coverage to Codacy
if: matrix.env.coverage && github.event_name == 'push' && github.actor != 'dependabot[bot]'
env:
Expand Down Expand Up @@ -134,6 +144,16 @@ jobs:
${{ runner.temp }}/coverage.info
${{ runner.temp }}/test/**/*.tap
if-no-files-found: ignore
- name: Prep combined test results
run: |
shopt -s extglob
mkdir -p "$RUNNER_TEMP/test-results-linux-${{ matrix.env.cc }}-${{ matrix.qt }}"
cp -a "$RUNNER_TEMP"/{coverage.info,removeHtmlDates.sh,test/**/*.tap} "$_"
- name: Upload combined test results
uses: actions/upload-artifact@v3
with:
name: test-results-combined
path: ${{ runner.temp }}/test-results-linux-${{ matrix.env.cc }}-${{ matrix.qt }}
- name: Report parallel coverage to Codacy
if: matrix.env.coverage && github.event_name == 'push' && github.actor != 'dependabot[bot]'
env:
Expand Down Expand Up @@ -224,6 +244,16 @@ jobs:
${{ runner.temp }}/coverage.info
${{ runner.temp }}/test/**/*.tap
if-no-files-found: ignore
- name: Prep combined test results
run: |
shopt -s extglob
mkdir -p "$RUNNER_TEMP/test-results-mac-${{ matrix.env.cc }}-${{ matrix.qt }}"
cp -a "$RUNNER_TEMP"/{coverage.info,removeHtmlDates.sh,test/**/*.tap} "$_"
- name: Upload combined test results
uses: actions/upload-artifact@v3
with:
name: test-results-combined
path: ${{ runner.temp }}/test-results-mac-${{ matrix.env.cc }}-${{ matrix.qt }}
- name: Report parallel coverage to Codacy
if: matrix.env.coverage && github.event_name == 'push' && github.actor != 'dependabot[bot]'
env:
Expand Down Expand Up @@ -410,6 +440,7 @@ jobs:
- name: Download all artifacts
uses: actions/download-artifact@v3
with:
name: test-results-combined
path: ${{ runner.temp }}/artifacts
- name: Generate test summary
uses: pcolby/tap-summary@v1
Expand Down

0 comments on commit 2e8ff97

Please sign in to comment.