diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b142cb80..db904b81 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,6 +22,7 @@ jobs: - name: Test with inv run: inv cover qa - name: Coveralls + if: github.repository == 'python-restx/flask-restx' && github.event == 'push' run: | pip install coveralls coveralls --rcfile=coverage.rc diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..990ff2c5 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,9 @@ +language: python +python: "3.8" +if: type = pull_request +install: + - pip install ".[dev]" coveralls +script: + - inv cover +after_success: + - coveralls --rcfile=coverage.rc