-
Notifications
You must be signed in to change notification settings - Fork 32
38 lines (36 loc) · 977 Bytes
/
unit_test_coverage.yml
File metadata and controls
38 lines (36 loc) · 977 Bytes
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
name: unit-test-coverage
on:
push:
branches:
- 'development'
jobs:
unit-test:
runs-on: ubuntu-latest
name: Unit Tests
steps:
- name: Checkout out repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Composer
uses: php-actions/composer@v6
- name: PHPUnit Tests
uses: php-actions/phpunit@v3
continue-on-error: true
with:
bootstrap: vendor/autoload.php
configuration: ./phpunit.xml
php_version: 7.4.3
memory_limit: 1024M
version: 9.5.20
php_extensions: xdebug
env:
XDEBUG_MODE: coverage
- name: Deploy Results
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: unit-test-results
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
target-folder: unit-tests
commit-message: Upload latest unit test results