diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..b60fb02 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,17 @@ +name: PHPUnit + +on: push + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/cache@v3 + with: + path: vendor + key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} + restore-keys: | + ${{ runner.os }}-php- + - run: composer install --prefer-dist --no-progress + - run: vendor/bin/phpunit \ No newline at end of file