From 0b0edd6241f2b4f562f58045bc37facd1d9dfbcc Mon Sep 17 00:00:00 2001 From: Vinay Shah Date: Wed, 28 Aug 2024 11:03:47 +0530 Subject: [PATCH] Create run-unit-test.yml --- .github/workflows/run-unit-test.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/run-unit-test.yml diff --git a/.github/workflows/run-unit-test.yml b/.github/workflows/run-unit-test.yml new file mode 100644 index 0000000..f03012a --- /dev/null +++ b/.github/workflows/run-unit-test.yml @@ -0,0 +1,22 @@ +name: UNIT Test + +on: [push] + +jobs: + build-test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - uses: php-actions/composer@v6 + + - name: PHPUnit Tests + uses: php-actions/phpunit@master + env: + TEST_NAME: Scarlett + with: + version: 9.6 + # bootstrap: vendor/autoload.php + configuration: test/phpunit.xml.dist + args: --coverage-text