-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use GitHub Actions instead of Travis (#114)
- Loading branch information
1 parent
0622656
commit 89becdd
Showing
4 changed files
with
32 additions
and
22 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,30 @@ | ||
name: PHPUnit for Saber | ||
|
||
on: [push, pull_request, workflow_dispatch] | ||
|
||
jobs: | ||
ci: | ||
runs-on: "${{ matrix.os }}" | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
max-parallel: 4 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Services | ||
run: | | ||
docker-compose -v | ||
docker -v | ||
ls -al | ||
pwd | ||
mkdir data | ||
mkdir data/mysql | ||
mkdir data/redis | ||
chmod -R 777 data | ||
docker-compose -f .travis-dc.yml up -d | ||
- name: Run Test Cases | ||
run: | | ||
docker run --rm -v `pwd`:/app:rw -w /app --name="test" phpswoole/swoole:php7.4 composer install-test |
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