mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-11 19:22:14 +00:00
Github Actions CI on push
This commit is contained in:
@@ -0,0 +1,21 @@
|
|||||||
|
name: CI
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- uses: php-actions/composer@v5
|
||||||
|
|
||||||
|
- name: PHPUnit Tests
|
||||||
|
uses: php-actions/phpunit@v6
|
||||||
|
with:
|
||||||
|
bootstrap: tests/bootstrap.php
|
||||||
|
php_version: 7.4
|
||||||
|
php_extensions: json
|
||||||
|
configuration: phpunit.xml
|
||||||
|
args: --coverage-text
|
||||||
Reference in New Issue
Block a user