Skip to content

fix ci

fix ci #162

Workflow file for this run

name: Tests
on:
push:
pull_request:
branches:
- master
jobs:
ci_tests:
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
tools: composer:v2
coverage: none
-
name: Install dependencies
uses: nick-invision/retry@v1
with:
timeout_minutes: 5
max_attempts: 5
command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress
-
name: Run syntax checks
run: ./vendor/bin/phpcs --standard=PSR12 bin/generate-dockerfiles.php src tests
-
name: Run unit tests
run: vendor/bin/phpunit