Skip to content

Commit

Permalink
Updating CI
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkVaughn authored May 9, 2024
1 parent 5db6551 commit e11746e
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/test-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [ '7.3', '8.0.2', '8.1' ]
swagger-lume-flags: ['latest', 'lumen-6-swagger-2', 'lumen-7-swagger-2', 'lumen-7-swagger-3', 'lumen-8-swagger-3', 'lumen-9-swagger-3', 'lumen-10-swagger-3', 'lumen-10-swagger-3-ui-4']
php: [ '7.3', '8.0.2', '8.1', '8.2' ]
swagger-lume-flags: ['latest', 'lumen-6-swagger-2', 'lumen-7-swagger-2', 'lumen-7-swagger-3', 'lumen-8-swagger-3', 'lumen-9-swagger-3', 'lumen-10-swagger-3', 'lumen-10-swagger-3-ui-4', 'lumen-11-swagger-3', 'lumen-11-swagger-3-ui-4']

name: PHP ${{ matrix.php }} - ${{ matrix.swagger-lume-flags }}

Expand Down Expand Up @@ -105,6 +105,24 @@ jobs:
composer require 'phpunit/phpunit:10.*' --no-interaction --no-update
if: matrix.php == '8.1' && matrix.swagger-lume-flags == 'lumen-10-swagger-3-ui-4'

- name: Lumen 11 && Swagger 3
env:
SWAGGER_VERSION: '3.0'
run: |
composer require 'laravel/lumen-framework:11.*' --no-interaction --no-update
composer require 'zircote/swagger-php:3.*' --no-interaction --no-update
if: matrix.php == '8.2' && matrix.swagger-lume-flags == 'lumen-11-swagger-3'

- name: Lumen 11 && Swagger 3 && Swagger-UI 4
env:
SWAGGER_VERSION: '3.0'
run: |
composer require 'laravel/lumen-framework:10.*' --no-interaction --no-update
composer require 'zircote/swagger-php:3.*' --no-interaction --no-update
composer require 'swagger-api/swagger-ui:4.*' --no-interaction --no-update
composer require 'phpunit/phpunit:10.*' --no-interaction --no-update
if: matrix.php == '8.2' && matrix.swagger-lume-flags == 'lumen-11-swagger-3-ui-4'

- name: Prepare code climate
run: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
Expand Down

0 comments on commit e11746e

Please sign in to comment.