Skip to content

Commit

Permalink
Skip coveralls when running on a forked repo
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromegamez committed May 21, 2021
1 parent 384e7c3 commit 1a8b05e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test-phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ jobs:
DB: ${{ matrix.db-platforms }}
TERM: xterm-256color

- if: matrix.php-versions == '7.4'
- if: github.repository_owner == 'codeigniter4' && matrix.php-versions == '7.4'
name: Run Coveralls
run: |
composer global require php-coveralls/php-coveralls:^2.4
Expand All @@ -150,6 +150,7 @@ jobs:
COVERALLS_FLAG_NAME: PHP ${{ matrix.php-versions }} - ${{ matrix.db-platforms }}

coveralls-finish:
if: github.repository_owner == 'codeigniter4'
needs: [tests]
runs-on: ubuntu-20.04
steps:
Expand Down

0 comments on commit 1a8b05e

Please sign in to comment.