Skip to content

Include codecov on GitHub Actions #6420

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 34 additions & 18 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,24 @@ jobs:
fail-fast: false
matrix:
name: [
"windows-py35",
"windows-py36",
"windows-py37",
"windows-py37-pluggy",
"windows-py38",
# "windows-py35",
# "windows-py36",
# "windows-py37",
# "windows-py37-pluggy",
# "windows-py38",

"ubuntu-py35",
# "ubuntu-py35",
"ubuntu-py36",
"ubuntu-py37",
"ubuntu-py37-pluggy",
"ubuntu-py37-freeze",
"ubuntu-py38",
"ubuntu-pypy3",

"macos-py37",
"macos-py38",

"linting",
# "ubuntu-py37",
# "ubuntu-py37-pluggy",
# "ubuntu-py37-freeze",
# "ubuntu-py38",
# "ubuntu-pypy3",
#
# "macos-py37",
# "macos-py38",
#
# "linting",
]

include:
Expand Down Expand Up @@ -118,6 +118,22 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
pip install tox coverage
- name: Test
run: tox -e ${{ matrix.tox_env }}
env:
COVERAGE_PROCESS_START: ".coveragerc"
_PYTEST_TOX_COVERAGE_RUN: "coverage run -m"
_PYTEST_TOX_EXTRA_DEP: "coverage-enable-subprocess"
# testing\test_session.py is temporary
run: |
tox -e ${{ matrix.tox_env }} -- testing/test_session.py
python -m coverage combine
python -m coverage xml
python -m coverage report -m
- name: Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.codecov }}
file: ./coverage.xml
flags: ${{ runner.os }}
fail_ci_if_error: true
134 changes: 0 additions & 134 deletions .travis.yml

This file was deleted.

80 changes: 0 additions & 80 deletions azure-pipelines.yml

This file was deleted.