1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 12:44:02 +00:00

Set up GitHub Actions

This commit is contained in:
Samuel Štancl 2020-04-22 23:33:00 +02:00 committed by GitHub
parent cb6661210f
commit 721d0669c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

26
.github/workflows/ci.yml vendored Normal file
View file

@ -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)