mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 10:14:04 +00:00
28 lines
650 B
YAML
28 lines
650 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ 2.x ]
|
|
pull_request:
|
|
branches: [ 2.x ]
|
|
|
|
jobs:
|
|
tests:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
laravel: ["^6.0", "^7.0"]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Start docker containers
|
|
run: docker-compose up -d
|
|
- name: Install dependencies
|
|
run: 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)
|