Skip to content

chore: remove framework dependency and use utopia-php/servers #1

chore: remove framework dependency and use utopia-php/servers

chore: remove framework dependency and use utopia-php/servers #1

Workflow file for this run

name: "CI"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
push:
branches: [main]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run Linter
run: |
docker run --rm -v $PWD:/app composer sh -c \
"composer install --profile --ignore-platform-reqs && composer lint"
analyze:
name: Analyze
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run CodeQL
run: |
docker run --rm -v $PWD:/app composer sh -c \
"composer install --profile --ignore-platform-reqs && composer check"
tests:
name: Tests (${{ matrix.adapter }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
adapter:
- AMQP
- Pool
- SwooleRedisCluster
- Swoole
- Workerman
steps:
- name: Checkout repository
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