From 721d0669c508c66156fdb3313ab2fce3b1ee27b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Wed, 22 Apr 2020 23:33:00 +0200 Subject: [PATCH] Set up GitHub Actions --- .github/workflows/ci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/ci.yml 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)