merge changes in test #152
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-latest | |
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-latest | |
needs: [ code-quality ] | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v4 | |
- name: "Setup PHP" | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.2 | |
- 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-latest | |
needs: [ code-quality ] | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v4 | |
- name: "Setup PHP" | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.2 | |
- name: "Install Composer dependencies" | |
run: "composer update --no-progress" | |
- name: "Run the tests" | |
run: "composer ci:tests:functional" |