diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml new file mode 100644 index 0000000..0e8f23b --- /dev/null +++ b/.gitea/workflows/test.yml @@ -0,0 +1,17 @@ +name: PHPUnit & CS-Fixer + +on: + push: + branches: [ main, develop ] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install dependencies + run: composer install --no-interaction --prefer-dist + - name: Run php-cs-fixer + run: vendor/bin/php-cs-fixer fix --dry-run --diff + - name: Run PHPUnit + run: vendor/bin/phpunit