run github actions phpunit tests for each pushed commit
This commit is contained in:
parent
25a7ed885b
commit
14c4b8223f
20
.github/workflows/ci.yml
vendored
Normal file
20
.github/workflows/ci.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
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@v2
|
||||||
|
env:
|
||||||
|
TEST_NAME: Scarlett
|
||||||
|
with:
|
||||||
|
bootstrap: vendor/autoload.php
|
||||||
|
configuration: test/phpunit.xml
|
Loading…
Reference in New Issue
Block a user