Skip to content

Commit

Permalink
Fix Github Actions integration
Browse files Browse the repository at this point in the history
  • Loading branch information
EmanueleMinotto committed Jan 2, 2021
1 parent 9032028 commit 6971613
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: CI
name: Continuous Integration

on:
pull_request: null
push:
branches:
- master
- pull_request
- push

jobs:
tests:
Expand All @@ -17,11 +15,11 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: shivammathur/setup-php@v1
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
tools: phpunit

- run: 'composer require phpunit/phpunit:*'
- run: composer require psr/log psr/container
- run: phpunit -v --colors=always tests
- run: vendor/bin/phpunit -v tests
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Crystal PHP Microframework [![Build Status](https://travis-ci.org/EmanueleMinotto/crystal.svg?branch=master)](https://travis-ci.org/EmanueleMinotto/crystal)
# Crystal PHP Microframework ![Continuous Integration](https://github.com/EmanueleMinotto/crystal/workflows/Continuous%20Integration/badge.svg)

* Documentation: https://github.com/EmanueleMinotto/crystal/wiki
* Contributing: https://github.com/EmanueleMinotto/crystal/wiki/Contributing

0 comments on commit 6971613

Please sign in to comment.