run github actions phpunit tests for each pushed commit

This commit is contained in:
thrillfall 2021-10-03 19:48:30 +02:00
parent 25a7ed885b
commit 14c4b8223f

20
.github/workflows/ci.yml vendored Normal file
View 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