tests: add config & translations dir #137
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 Test | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
name: Tests with PHP ${{ matrix.php-versions }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
php-versions: [ '8.1', '8.2', '8.3' ] | |
steps: | |
- { name: Checkout code, uses: actions/checkout@v4 } | |
- { name: Install PHP, uses: shivammathur/setup-php@v2, with: { php-version: "${{ matrix.php-versions }}" } } | |
- { name: OS Version, run: uname -a } | |
- { name: PHP Version, run: php --version } | |
- { name: Validate composer, run: composer validate --strict } | |
- { name: Install dependencies, run: composer install } | |
- { name: Install tools, run: composer install -d tools/ } | |
- { name: Run tests, run: tools/vendor/bin/simple-phpunit --debug } | |
- { name: Run phpstan, run: tools/vendor/bin/phpstan } |