-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove travisci and add github actions
- Loading branch information
Showing
4 changed files
with
37 additions
and
21 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,4 @@ | ||
# These are supported funding model platforms | ||
github: chriskapp | ||
patreon: fusio | ||
custom: https://www.paypal.me/fusioapi |
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,31 @@ | ||
name: CI | ||
on: | ||
- pull_request | ||
- push | ||
jobs: | ||
phpunit: | ||
name: "PHPUnit (PHP: ${{ matrix.php-versions }})" | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
php-versions: | ||
- 7.3 | ||
- 7.4 | ||
- 8.0 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Install PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php-versions }} | ||
coverage: none | ||
- name: Setup MySQL | ||
run: | | ||
sudo /etc/init.d/mysql start | ||
mysql -e "CREATE DATABASE psx;" -uroot -proot | ||
mysql -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'test1234';" -uroot -proot | ||
- name: Composer install | ||
run: composer install --no-interaction --no-ansi --no-progress | ||
- name: Run PHPUnit | ||
run: vendor/bin/phpunit |
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