Skip to content

Merge branch 'main' of https://github.com/czenzel/MillvilleMutualDemo #28

Merge branch 'main' of https://github.com/czenzel/MillvilleMutualDemo

Merge branch 'main' of https://github.com/czenzel/MillvilleMutualDemo #28

Workflow file for this run

name: Simple Validation
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Validate Project 1
run: composer validate --strict
working-directory: project1
- name: Validate Project 2
run: composer validate --strict
working-directory: project2
- name: Validate Project 3
run: composer validate --strict
working-directory: project3
- name: Validate Project 4
run: composer validate --strict
working-directory: project4
- name: Install Project 4
run: composer install
working-directory: project4
- name: Test Project 4
run: ./vendor/bin/phpunit --verbose tests
working-directory: project4
build:
runs-on: ubuntu-latest
needs: tests
steps:
- uses: actions/checkout@v3
- name: Build Docker Compose
run: docker compose build