Skip to content

Commit

Permalink
chore: refactor gitlab integration to github actions
Browse files Browse the repository at this point in the history
Closes #25
  • Loading branch information
Steffen Giers committed Jan 19, 2020
1 parent feb1774 commit 5277d57
Show file tree
Hide file tree
Showing 4 changed files with 281 additions and 246 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: PHP Composer

on: [push]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1

- name: Validate composer.json and composer.lock
run: composer validate

- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest

- name: Run test suite
run: composer run-script test
28 changes: 0 additions & 28 deletions .gitlab-ci.yml

This file was deleted.

3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,8 @@
"require-dev": {
"phpunit/phpunit": "^8",
"spatie/phpunit-watcher": "dev-master"
},
"scripts": {
"test": "phpunit --bootstrap vendor/autoload.php tests"
}
}
Loading

0 comments on commit 5277d57

Please sign in to comment.