Skip to content

Commit

Permalink
Add workflow to check Pest type coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Apr 15, 2024
1 parent ed23683 commit 7382e7d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,16 @@ jobs:
- name: Ping CI server with type coverage results
if: github.event.repository.full_name == 'hydephp/develop'
run: php monorepo/scripts/ping-ci-server-with-type-coverage.php ${{ secrets.CI_SERVER_TOKEN }} ${{ github.event.pull_request.head.sha }} ${{ github.head_ref }} ${{ github.run_id }}

type-coverage:
name: Check Type Coverage
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install Composer Dependencies
run: composer install --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist

- name: Run Pest Type Coverage
run: ./vendor/bin/pest --type-coverage

0 comments on commit 7382e7d

Please sign in to comment.