-
Notifications
You must be signed in to change notification settings - Fork 5
39 lines (36 loc) · 1.15 KB
/
php-tester-include-skipped.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: PHP tests, including skipped tests
on:
schedule:
- cron: '45 23 * * 4'
workflow_dispatch:
permissions:
contents: read
jobs:
tester-include-skipped:
runs-on: ubuntu-latest
strategy:
matrix:
php-version:
- "8.3"
- "8.4"
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2
with:
coverage: pcov
php-version: ${{ matrix.php-version }}
- name: Create symlink in /srv/www
run: |
sudo mkdir --parents /srv/www
sudo ln --symbolic $GITHUB_WORKSPACE /srv/www
- run: make --directory=app tester-include-skipped
- name: Failed test output, if any
if: failure()
run: for i in $(find ./app/tests -name \*.actual); do echo "--- $i"; cat $i; echo; echo; done
- name: Upload test code coverage
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
if: success()
with:
name: Test code coverage (PHP ${{ matrix.php-version }})
path: 'app/temp/coverage.html'
retention-days: 5