diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..42f2b337 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,26 @@ +name: CI + +on: + push: + branches: [ v2 ] + pull_request: + branches: [ v2 ] + +jobs: + tests: + runs-on: ubuntu-latest + + strategy: + matrix: + laravel: ["^6.0", "^7.0"] + + steps: + - uses: actions/checkout@v2 + - name: Install dependencies + run: travis_retry docker-compose exec test composer require --no-interaction "laravel/framework:$LARAVEL_VERSION" + - name: Run tests + run: ./fulltest + - name: Send code coverage to codecov + env: + CODECOV_TOKEN: 24382d15-84e7-4a55-bea4-c4df96a24a9b + run: bash <(curl -s https://codecov.io/bash)