Merge pull request #37 from slub/36-healthcheck #60
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: CI | |
on: | |
push: | |
jobs: | |
code-quality: | |
name: "Code quality checks" | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v4 | |
- name: "Install Composer dependencies" | |
run: "composer ci:install" | |
- name: "Run command" | |
run: "composer ci:php:stan" | |
unit-tests: | |
name: Unit Tests | |
runs-on: ubuntu-22.04 | |
needs: [ code-quality ] | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v4 | |
- name: "Install Composer dependencies" | |
run: "composer ci:install" | |
- name: "Run the tests" | |
run: "composer ci:tests:unit" | |
functional-tests: | |
name: Functional Tests | |
runs-on: ubuntu-22.04 | |
needs: [ code-quality ] | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v4 | |
- name: "Install Composer dependencies" | |
run: "composer update --no-progress" | |
- name: "Run the tests" | |
run: "composer ci:tests:functional" |