forked from greenlion/PHP-SQL-Parser
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (35 loc) · 825 Bytes
/
ci.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
40
41
name: CI
on: [push]
jobs:
build-test:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions:
- 5.4
- 5.5
- 5.6
- 7.2
- 7.3
- 7.4
- 8.2
- 8.3
- nightly
steps:
- uses: actions/checkout@v3
- uses: php-actions/composer@v6
- name: PHPUnit Tests
uses: php-actions/phpunit@master
env:
XDEBUG_MODE: coverage
with:
php_extensions: "xdebug"
coverage_html: "coverage/html/"
version: 9.5
bootstrap: tests/bootstrap.php
configuration: phpunit.xml
- name: Archive code coverage results
uses: actions/upload-artifact@v3
with:
name: code-coverage-report
path: coverage/html