Skip to content
Merged
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
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
experimental: [false]
python-version: [3.6, 3.7, 3.8, 3.9, pypy3]
include:
- python-version: 3.10.0-alpha.7 # Newest: https://github.com/actions/python-versions/blob/main/versions-manifest.json
- python-version: 3.10.0-beta.4 # Newest: https://github.com/actions/python-versions/blob/main/versions-manifest.json
os: ubuntu-latest
experimental: true
fail-fast: false
Expand All @@ -32,6 +32,10 @@ jobs:
- name: Test with pytest via tox
run: |
tox -e gh
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
fail_ci_if_error: true

format:
runs-on: ubuntu-latest
Expand Down
14 changes: 5 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

[testenv]
deps =
pytest~=5.3
pytest-timeout~=1.3
pytest-cov~=2.8
coverage==4.5.*
pytest==6.2.*,>=6.2.4
pytest-timeout==1.4.*
pytest-cov==2.12.*
coverage==5.5
codecov==2.1.10
hypothesis~=4.56
pyserial~=3.0
Expand All @@ -20,12 +20,8 @@ recreate = True
passenv =
CI
GITHUB_*
CODECOV_*
PY_COLORS

commands_post =
codecov -X gcov

[testenv:travis]
passenv =
CI
Expand All @@ -39,7 +35,7 @@ commands_post =

[pytest]
testpaths = test
addopts = -v --timeout=300 --cov=can --cov-append --cov-report=term
addopts = -v --timeout=300 --cov=can --cov-config=tox.ini --cov-report=xml --cov-report=term


[coverage:run]
Expand Down