Skip to content

Migrate to PHP 8.1 and PHPUnit 10 #64

Migrate to PHP 8.1 and PHPUnit 10

Migrate to PHP 8.1 and PHPUnit 10 #64

Workflow file for this run

name: tests
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Docker compose up
run: docker-compose up -d
- name: Validate composer.json and composer.lock
run: composer validate
- name: Get Composer Cache Directory
id: composer-cache
run: |
echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- name: Run test suite
env:
DB_POSTGRES_HOST: localhost
run: vendor/bin/phpunit --no-coverage