Skip to content

Commit 0f53873

Browse files
authored
Merge pull request #44 from SVilgelm/skip-coveralls-for-forks
Run coveralls using travis for PRs
2 parents a8a986e + 771f69a commit 0f53873

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
- name: Test with inv
2323
run: inv cover qa
2424
- name: Coveralls
25+
if: github.repository == 'python-restx/flask-restx' && github.event == 'push'
2526
run: |
2627
pip install coveralls
2728
coveralls --rcfile=coverage.rc

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
language: python
2+
python: "3.8"
3+
if: type = pull_request
4+
install:
5+
- pip install ".[dev]" coveralls
6+
script:
7+
- inv cover
8+
after_success:
9+
- coveralls --rcfile=coverage.rc

0 commit comments

Comments
 (0)