-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
switched to gh-actions, added php8 and removed 7.1 (#42)
removed TravisCI as CI and added Github Actions. deleted compatibility for php7.2 moved php-unit from 7 to 8
- Loading branch information
Showing
5 changed files
with
49 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: PhpUnit | ||
|
||
on: [push] | ||
|
||
jobs: | ||
run: | ||
runs-on: ${{ matrix.operating-system }} | ||
strategy: | ||
matrix: | ||
operating-system: ['ubuntu-18.04'] | ||
php-versions: ['7.2', '7.3', '7.4', '8.0'] | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- name: Run composer install | ||
run: composer install -n --prefer-dist | ||
env: | ||
APP_ENV: testing | ||
|
||
- name: Prepare Application | ||
run: | | ||
cp phpunit.xml.dist phpunit.xml | ||
- name: PHPUnit Tests | ||
run: ./vendor/bin/phpunit | ||
env: | ||
TEST_NAME: DEV | ||
# with: | ||
# bootstrap: vendor/autoload.php | ||
# configuration: test/phpunit.xml | ||
# args: --coverage-text | ||
|
||
# - name: Upload artifacts | ||
# uses: actions/upload-artifact@master | ||
# if: failure() | ||
# with: | ||
# name: Logs | ||
# path: ./storage/logs |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters