Skip to content

Commit

Permalink
statistics: gha artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
mysiar committed Nov 26, 2022
1 parent 70c8793 commit a72ca48
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
name: 'Tests'
strategy:
matrix:
php: ['8.1.12']
php: ['8.1.13']

runs-on: 'ubuntu-20.04'
env:
Expand All @@ -26,6 +26,7 @@ jobs:
path: 'php-ext-gsl'

- uses: actions/cache@v3
if: ${{ always() }}
with:
path: ~/build-cache/php
key: ${{ runner.os }}-${{ matrix.php }}
Expand All @@ -37,4 +38,15 @@ jobs:
run: './php-ext-gsl/.github/workflows/test/build-php-ext-gsl.sh'

- name: 'Run tests'
run: './php-ext-gsl/.github/workflows/test/tests.sh'
run: './php-ext-gsl/.github/workflows/test/tests.sh'

- name: Archive test errors
if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: test-errors
path: php-ext-gsl/tests/*.diff
retention-days: 5
- name: Download all workflow run artifacts
if: ${{ failure() }}
uses: actions/download-artifact@v3

0 comments on commit a72ca48

Please sign in to comment.