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

Full package refactoring #21

Merged
merged 5 commits into from
May 20, 2023
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
👷 Update CI workflow
  • Loading branch information
ker0x committed May 19, 2023
commit 2e59524bda9e9e5880f5c05439c1dc7e0cf7f21f
19 changes: 12 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,15 @@ jobs:

runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
php-version: [ '8.2' ]

steps:
- uses: actions/checkout@v3

- name: php-setup
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
php-version: '8.2'
coverage: xdebug
extensions: xdebug

- name: composer-validate
run: composer validate
Expand All @@ -37,7 +33,7 @@ jobs:

- name: composer-install
if: steps.composer-cache.outputs.cache-hit != 'true'
run: composer install --prefer-dist --no-progress --no-suggest
run: composer install --prefer-dist --no-progress --no-interaction

- name: php-cs-fixer
run: vendor/bin/php-cs-fixer fix --dry-run --diff --verbose --ansi
Expand All @@ -46,4 +42,13 @@ jobs:
run: vendor/bin/phpstan analyse --memory-limit 256M

- name: phpunit
env:
FCM_OAUTH_TOKEN: ${{ secrets.FCM_OAUTH_TOKEN }}
FCM_PROJECT_ID: ${{ secrets.FCM_PROJECT_ID }}
run: vendor/bin/phpunit

- name: coverage
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./.coverage/coverage.xml