diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..a672635 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,22 @@ +name: PHP CI + +on: + pull_request: + branches: [maestro] + # push: + # branches: [main] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Validate composer.json and composer.lock + run: composer validate + + - name: Install dependencies + run: composer install --prefer-dist --no-progress --no-suggest + + - name: Run tests + run: ./vendor/bin/pest