Add webcamBackgroundURL (#214) #937
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: | |
pull_request: | |
jobs: | |
PHP_Lowest: | |
name: PHP ${{ matrix.php-versions }} wth lowest dependencies | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
php-versions: ['8.1', '8.2', '8.3'] | |
experimental: [false] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup PHP, with composer and extensions | |
uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php | |
with: | |
php-version: ${{ matrix.php-versions }} | |
extensions: bcmath, ctype, fileinfo, json, mbstring, dom, ldap, pdo, tokenizer, xml, mysql, sqlite | |
coverage: xdebug | |
- name: Update to lowest php dependencies | |
run: composer update --prefer-lowest | |
- name: Install php dependencies | |
run: composer install --dev --no-interaction | |
- name: Execute tests without coverage | |
run: tools/phpunit --testsuite="BigBlueButton unit test suite,BigBlueButton integration test suite" | |
PHP: | |
name: PHP ${{ matrix.php-versions }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
php-versions: ['8.1', '8.2', '8.3'] | |
experimental: [false] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup PHP, with composer and extensions | |
uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php | |
with: | |
php-version: ${{ matrix.php-versions }} | |
extensions: bcmath, ctype, fileinfo, json, mbstring, dom, ldap, pdo, tokenizer, xml, mysql, sqlite | |
coverage: xdebug | |
- name: Install php dependencies | |
run: composer install --dev --no-interaction | |
continue-on-error: ${{ matrix.experimental }} | |
- name: Execute code style check via php-cs-fixer | |
run: tools/php-cs-fixer fix --dry-run | |
continue-on-error: ${{ matrix.experimental }} | |
- name: Execute tests with coverage | |
if: ${{ !matrix.experimental }} | |
run: | | |
mkdir -p build/logs | |
tools/phpunit --coverage-clover=build/logs/coverage.xml --testsuite="BigBlueButton unit test suite,BigBlueButton integration test suite" | |
- name: Execute tests without coverage | |
if: ${{ matrix.experimental }} | |
run: tools/phpunit --testsuite="BigBlueButton unit test suite,BigBlueButton integration test suite" | |
continue-on-error: true | |
- name: Upload coverage | |
if: ${{ matrix.php-versions == '8.1' }} | |
uses: codecov/codecov-action@v3 | |
- name: Run rector | |
if: ${{ matrix.php-versions == '8.1' }} | |
run: tools/rector process --dry-run | |
- name: Run psalm | |
if: ${{ matrix.php-versions == '8.1' }} | |
run: tools/psalm | |
- name: Run phpstan | |
if: ${{ matrix.php-versions == '8.1' }} | |
run: tools/phpstan |