Skip to content

Commit 1cb8669

Browse files
committed
Add GitHub workflow for release branch
1 parent 91b43ed commit 1cb8669

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: release
2+
3+
on:
4+
push:
5+
branches: [ release ]
6+
pull_request:
7+
branches: [ release ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
- name: Install dependencies
17+
run: composer install --prefer-dist --no-progress --no-suggest
18+
19+
- name: Test with PHPUnit, generate code coverage
20+
run: php ./vendor/phpunit/phpunit/phpunit --coverage-clover=coverage.xml
21+
22+
- name: Upload coverage to Codecov
23+
uses: codecov/codecov-action@v1
24+
with:
25+
file: ./coverage.xml

0 commit comments

Comments
 (0)