#19 - Extend middleware tools #47
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build & test the application | |
on: | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
name: Build & test the application | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run the php container | |
run: docker-compose up -d | |
- name: Install dependencies | |
run: docker-compose run php composer install --prefer-dist --no-progress --no-suggest | |
- name: Run code style checker | |
run: docker-compose run php composer cs | |
- name: Run tests | |
run: docker-compose run php composer test |