Skip to content

Merge pull request #111 from matsuo/reduce-errors-detected-by-phpstan #80

Merge pull request #111 from matsuo/reduce-errors-detected-by-phpstan

Merge pull request #111 from matsuo/reduce-errors-detected-by-phpstan #80

Workflow file for this run

name: Test with php-src
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '0 9 7,14,21,28 * *'
jobs:
test:
name: Test with php-src
runs-on: ubuntu-latest
strategy:
matrix:
php: [ '8.1', '8.2', '8.3', '8.4', 'master' ]
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Run docker compose
shell: bash
run: |
cp .github/workflows/php-src-${{ matrix.php }}.dockerfile Dockerfile
docker compose up -d
sleep 30
- name: Run testing
shell: bash
run: |
sleep 30
docker compose run web sh -c "cd / && composer test"