Skip to content

Continue migrating base cards #2983

Continue migrating base cards

Continue migrating base cards #2983

Workflow file for this run

name: Run unit tests
on: [push, pull_request]
jobs:
build-test:
runs-on: ubuntu-latest
services:
mysql:
image: mysql:latest
env:
MYSQL_ALLOW_EMPTY_PASSWORD: true
MYSQL_DATABASE: innovation_test
ports:
- 3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- name: Checkout codebase
uses: actions/checkout@v2
- name: Setup PHP 8.2
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
- name: Install dependencies
run: composer install -n --prefer-dist
- name: Run Tests
run: env CI=1 ./vendor/bin/phpunit --coverage-text
env:
DB_PORT: ${{ job.services.mysql.ports[3306] }}