Skip to content

Commit 86c3495

Browse files
committed
Changing unit tests to always run, but not to push to coveralls.
1 parent 2568034 commit 86c3495

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/Unit_Tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@ name: Unit Tests
22

33
on:
44
pull_request: null
5-
push:
6-
branches:
7-
- master
5+
push: null
86

97
jobs:
108
tests:
@@ -50,6 +48,7 @@ jobs:
5048
if: (!contains(matrix.php-versions, '7.')) && (matrix.php-versions != '8.0')
5149

5250
- name: Coveralls Test Submission
51+
if: ${{ github.ref == 'refs/heads/master' }}
5352
env:
5453
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5554
COVERALLS_PARALLEL: true
@@ -62,6 +61,7 @@ jobs:
6261
runs-on: ubuntu-latest
6362
steps:
6463
- name: Close Coveralls Run
64+
if: ${{ github.ref == 'refs/heads/master' }}
6565
env:
6666
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
6767
COVERALLS_ENDPOINT: https://coveralls.io

0 commit comments

Comments
 (0)