Skip to content

Commit f2d1cf8

Browse files
committed
Move from Travis to GitHub Actions
1 parent bc8b5fc commit f2d1cf8

File tree

2 files changed

+22
-16
lines changed

2 files changed

+22
-16
lines changed

.github/workflows/main.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
php_version:
11+
- 8.0
12+
- 8.1
13+
steps:
14+
- uses: actions/checkout@v2
15+
- uses: php-actions/composer@v6
16+
with:
17+
php_version: ${{ matrix.php_version }}
18+
- uses: php-actions/phpunit@v3
19+
with:
20+
php_version: ${{ matrix.php_version }}
21+
php_extensions: pcov
22+
- run: bash <(curl -s https://codecov.io/bash)

.travis.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)