Skip to content

Commit 854c530

Browse files
committed
ci: replace travis with github actions
Closes #7
1 parent 7e21b95 commit 854c530

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,11 @@ jobs:
6262
composer install --no-interaction --no-progress --ansi
6363
6464
- name: 'Run php server'
65-
run: |
66-
composer server
67-
- name: 'Run unit tests'
68-
run: |
69-
composer phpunit
65+
run: php -S localhost:9888 -t tests/Proxy/ &
7066

67+
- name: 'Run unit tests'
68+
run: vendor/bin/phpunit
69+
7170
code-coverage:
7271
runs-on: 'ubuntu-latest'
7372
name: 'Code Coverage'
@@ -85,9 +84,12 @@ jobs:
8584
run: |
8685
composer install --no-interaction --no-progress --ansi
8786
87+
- name: 'Run php server'
88+
run: php -S localhost:9888 -t tests/Proxy/ &
89+
8890
- name: 'Run code coverage'
8991
run: |
90-
composer coverage
92+
vendor/bin/phpunit --coverage-html coverage
9193
9294
- name: Send code coverage report to Codecov.io
9395
uses: codecov/codecov-action@v2

0 commit comments

Comments
 (0)