-
Notifications
You must be signed in to change notification settings - Fork 4
37 lines (31 loc) · 801 Bytes
/
tests.yml
File metadata and controls
37 lines (31 loc) · 801 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: "Tests"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on: [pull_request]
jobs:
adapter_test:
name: Adapter Tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
adapter:
[
Locking,
Pool,
SwooleRedisCluster,
Swoole,
SwooleConcurrency,
Workerman,
]
steps:
- name: checkout
uses: actions/checkout@v4
- name: Load and Start Services
run: |
docker compose build
docker compose up -d
sleep 10
- name: Run Tests
run: docker compose exec -T tests vendor/bin/phpunit /usr/local/src/tests/Queue/E2E/Adapter/${{matrix.adapter}}Test.php --debug