Skip to content

Commit ac7af38

Browse files
committed
new setProxy option
1 parent 9a76f77 commit ac7af38

File tree

5 files changed

+171
-101
lines changed

5 files changed

+171
-101
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,16 @@ jobs:
3737
run: |
3838
composer validate
3939
./vendor/bin/phpunit
40-
./vendor/bin/phpcs .
4140
SKIP_CURL=1 ./vendor/bin/phpunit
4241
42+
- name: Run proxy tests
43+
run: |
44+
docker run -d --name=tinyproxy -p 8888:8888 monokal/tinyproxy:latest ANY
45+
PROXY=http://0.0.0.0:8888 ./vendor/bin/phpunit
46+
docker rm -f tinyproxy
47+
48+
- name: Run Linter
49+
run: ./vendor/bin/phpcs .
50+
4351
- name: Run PHPStan
44-
run: ./vendor/bin/phpstan analyse --level 5 src tests demo
52+
run: ./vendor/bin/phpstan analyse --level 5 src tests demo

0 commit comments

Comments
 (0)