We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3354ac commit 4f0bc64Copy full SHA for 4f0bc64
1 file changed
.github/workflows/tests.yml
@@ -1,10 +1,7 @@
1
name: Tests
2
3
on:
4
- push:
5
- branches: [main]
6
pull_request:
7
8
9
jobs:
10
unit:
@@ -15,10 +12,15 @@ jobs:
15
12
- name: Checkout
16
13
uses: actions/checkout@v4
17
14
18
- - name: Build test image
19
- run: |
20
- docker build -t proxy-test --target test -f Dockerfile.test .
+ - name: Setup PHP
+ uses: shivammathur/setup-php@v2
+ with:
+ php-version: '8.4'
+ extensions: swoole, redis, sockets
+ tools: composer:v2
21
+
22
+ - name: Install dependencies
23
+ run: composer install --prefer-dist --no-progress
24
25
- name: Run tests
- docker run --rm proxy-test composer test
26
+ run: composer test
0 commit comments