Making endpoint random to balance between available ingress points #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: Tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
php: [ 8.1 ] | |
laravel: [ 9.*, 10.* ] | |
exclude: | |
- php: 8.1 | |
laravel: 9.* | |
- php: 8.1 | |
laravel: 10.8 | |
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} | |
steps: | |
- name: Checkout the code | |
uses: actions/checkout@v2 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
extensions: json | |
coverage: none | |
- name: Install the dependencies | |
run: | | |
composer require "illuminate/contracts:${{ matrix.laravel }}" --no-interaction --no-progress --no-update | |
composer update --no-progress --prefer-dist --no-interaction | |
- name: Execute the tests | |
run: vendor/bin/phpunit --testdox | |
- name: 'Qodana Scan' | |
uses: JetBrains/qodana-action@main | |
env: | |
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} |