bs5 changes in ui #23
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: Install & Run tests | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
matrix: | |
operating-system: ['ubuntu-latest'] | |
php-versions: ['8.1', '8.2'] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup PHP extensions | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
ini-values: post_max_size=256M, max_execution_time=180 | |
- name: Configure Github Token | |
run: composer config -g github-oauth.github.com ${{ secrets.GITHUB_TOKEN }} | |
- name: Install dependencies | |
run: composer install | |
- name: Run tests on PHP container | |
run: XDEBUG_MODE=coverage php vendor/bin/codecept run --coverage --coverage-xml | |
- name: Run static code analysis | |
run: vendor/bin/phpstan analyse | |
- name: Upload Code coverage | |
uses: codecov/[email protected] | |
if: always() | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
name: codecov-umbrella # optional |