mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 17:44:04 +00:00
Set up GitHub Actions
This commit is contained in:
parent
cb6661210f
commit
721d0669c5
1 changed files with 26 additions and 0 deletions
26
.github/workflows/ci.yml
vendored
Normal file
26
.github/workflows/ci.yml
vendored
Normal 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)
|
||||||
Loading…
Add table
Add a link
Reference in a new issue