Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,21 +74,22 @@ jobs:
- name: "Run static code analysis with phpstan/phpstan"
run: "composer phpstan"

- name: "Run coding standard checks with squizlabs/php_codesniffer"
run: "composer cs-check"
- name: "Run coding standard checks with squizlabs/php_codesniffer on minimum supported PHP version"
if: matrix.php-version == '8.1'
run: composer cs-check

- name: "Archive code coverage results"
uses: actions/upload-artifact@v4
with:
name: codeCoverage-${{ matrix.php-version }}
name: codeCoverage-${{ matrix.php-version }}-${{ github.run_id }}
path: "build"
overwrite: true

- uses: codecov/[email protected] # upload the coverage to codecov
with:
fail_ci_if_error: false # optional (default = false) - Need CODECOV_TOKEN
# Do not upload in forks, and only on php8.3, latest deps
if: ${{ github.repository == 'thecodingmachine/graphqlite' && matrix.php-version == '8.3' && matrix.install-args == '' }}
# Do not upload in forks, and only on php8.4, latest deps
if: ${{ github.repository == 'thecodingmachine/graphqlite' && matrix.php-version == '8.4' && matrix.install-args == '' }}

examples:
name: Check Examples
Expand All @@ -103,7 +104,7 @@ jobs:
- name: "Install PHP with extensions"
uses: "shivammathur/setup-php@v2"
with:
php-version: "8.2"
php-version: "8.4"
tools: composer:v2
- name: "Install dependencies with composer"
working-directory: "examples/${{ matrix.example }}"
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"require-dev": {
"beberlei/porpaginas": "^2.0",
"doctrine/coding-standard": "^12.0",
"doctrine/coding-standard": "^12.0 || ^13.0",
"ecodev/graphql-upload": "^7.0",
"laminas/laminas-diactoros": "^3.5",
"myclabs/php-enum": "^1.6.6",
Expand Down
Loading