From 14c4b8223fe6f9c7c765974653d2258e2e908dab Mon Sep 17 00:00:00 2001 From: thrillfall Date: Sun, 3 Oct 2021 19:48:30 +0200 Subject: [PATCH] run github actions phpunit tests for each pushed commit --- .github/workflows/ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..a0dbe4f --- /dev/null +++ b/.github/workflows/ci.yml @@ -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