diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dbdb752..4f39663 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,7 @@ jobs: pip install pytest pytest-cov responses codecov requests-mock - name: Test with pytest run: | - pytest --cov=./ + pytest --cov=./ --cov-report=xml - name: Upload coverage to Codecov uses: codecov/codecov-action@v1 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index abdc05d..85f5530 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,9 +3,8 @@ name: Testing on: push: branches: - - master - - dev - - dev-* + - '*' + - '!master' jobs: test: