Skip to content

Commit e8c5adf

Browse files
committed
CI
1 parent 9dc5503 commit e8c5adf

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build-test:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: php-actions/composer@v6
12+
with:
13+
php_version: '8.2'
14+
- uses: php-actions/phpunit@v4
15+
with:
16+
php_version: '8.2'
17+
php_extensions: 'xdebug bcmath'
18+
bootstrap: 'vendor/autoload.php'
19+
coverage_clover: 'clover.xml'
20+
env:
21+
XDEBUG_MODE: coverage
22+
- uses: codecov/codecov-action@v5
23+
env:
24+
CODECOV_TOKEN: ${{ secrets.CODECOV_ORG_TOKEN }}

0 commit comments

Comments
 (0)