Skip to content

#17 - add documentation #31

#17 - add documentation

#17 - add documentation #31

Workflow file for this run

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