Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add tests for php 8.3 #87

Merged
merged 1 commit into from
Dec 1, 2023
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
20 changes: 20 additions & 0 deletions .github/workflows/code_style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,25 @@ name: Code Style
on: [ push, pull_request ]

jobs:
pre_job:
runs-on: ubuntu-latest
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@v5
with:
concurrent_skipping: always
skip_after_successful_duplicate: true
do_not_skip: '["pull_request"]'

php-cs-fixer:
name: PHP CS Fixer
runs-on: ubuntu-latest
needs:
- pre_job
if: needs.pre_job.outputs.should_skip != 'true'

steps:
- name: Prepare github actions
uses: actions/checkout@v3
Expand All @@ -18,6 +34,10 @@ jobs:
php-stan:
name: PHPStan
runs-on: ubuntu-latest
needs:
- pre_job
if: needs.pre_job.outputs.should_skip != 'true'

steps:
- name: Prepare github actions
uses: actions/checkout@v3
Expand Down
17 changes: 16 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,29 @@ name: Tests
on: [ push, pull_request ]

jobs:
pre_job:
runs-on: ubuntu-latest
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@v5
with:
concurrent_skipping: always
skip_after_successful_duplicate: true
do_not_skip: '["pull_request"]'

tests:
runs-on: ubuntu-latest
name: Tests
needs:
- pre_job
if: needs.pre_job.outputs.should_skip != 'true'

strategy:
fail-fast: false
matrix:
php-versions: [ '8.1', '8.2' ]
php-versions: [ '8.1', '8.3' ]
vendors-version: [ '--prefer-lowest', '' ]

steps:
Expand Down
Loading