From 36393ac6e0102f28d8cd73ce579dd31e0dcdf3a7 Mon Sep 17 00:00:00 2001 From: Sergey Vilgelm Date: Sun, 15 Mar 2020 11:17:49 -0500 Subject: [PATCH] Use Codecov instead of coveralls --- .github/workflows/test.yml | 11 ++++------- .travis.yml | 9 --------- 2 files changed, 4 insertions(+), 16 deletions(-) delete mode 100644 .travis.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 94982e29..d2b83726 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -61,13 +61,10 @@ jobs: pip install ".[test]" - 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 - env: - COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} + - name: Codecov + uses: codecov/codecov-action@v1 + with: + flags: ${{ matrix.python-version }} bench: needs: unit-tests runs-on: ubuntu-latest diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 990ff2c5..00000000 --- a/.travis.yml +++ /dev/null @@ -1,9 +0,0 @@ -language: python -python: "3.8" -if: type = pull_request -install: - - pip install ".[dev]" coveralls -script: - - inv cover -after_success: - - coveralls --rcfile=coverage.rc