Skip to content

temp: add phinx migrations to attic #53

temp: add phinx migrations to attic

temp: add phinx migrations to attic #53

Workflow file for this run

name: Commit Pipeline
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build container
run: docker build --target dev -t aspirepress/aspirecloud-php -f ./docker/webapp/Dockerfile .
- name: Install Composer dependencies
run: docker run --rm -v $(pwd):/var/www/html aspirepress/aspirecloud-php sh -c "composer install"
- name: Run style checks
run: docker run --rm -v $(pwd):/var/www/html aspirepress/aspirecloud-php sh -c "./vendor/bin/phpcs"
- name: Run quality check
run: docker run --rm -v $(pwd):/var/www/html aspirepress/aspirecloud-php sh -c "./vendor/bin/phpstan --memory-limit=1G analyse"
- name: Run unit tests
run: docker run --rm -v $(pwd):/var/www/html aspirepress/aspirecloud-php sh -c "./vendor/bin/phpunit --testsuite=unit"