Skip to content

Commit

Permalink
Set up GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
stancl authored Apr 22, 2020
1 parent cb66612 commit 721d066
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 721d066

Please sign in to comment.