Skip to content

Commit

Permalink
run docs and package_description on py38
Browse files Browse the repository at this point in the history
  • Loading branch information
luizirber committed Dec 10, 2020
1 parent 8f1388b commit 74a5bd9
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 10 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ jobs:
env:
PYTHONDEVMODE: 1

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
fail_ci_if_error: true
- name: set coverage location
id: covloc
run: |
PYNAME=$(echo ${{ matrix.py }} | tr -d .)
echo "::set-output name=coverage_file::.tox/junit.py${PYNAME}.xml"
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ jobs:
- name: Upload Rust coverage to codecov
uses: codecov/codecov-action@v1
with:
flags: rusttests
flags: rust
fail_ci_if_error: true

lints:
Expand Down
18 changes: 13 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
envlist =
py39,
coverage,
codecov,
docs,
package_description
py38,
Expand All @@ -19,6 +20,7 @@ setenv =
VIRTUALENV_NO_DOWNLOAD = 1
PIP_EXTRA_INDEX_URL = https://antocuni.github.io/pypy-wheels/manylinux2010
passenv =
TOXENV
CURL_CA_BUNDLE
http_proxy
https_proxy
Expand Down Expand Up @@ -116,12 +118,18 @@ parallel_show_output = True
[testenv:codecov]
description = [only run on CI]: upload coverage data to codecov (depends on coverage running first)
passenv = {[testenv]passenv}
CODECOV_TOKEN
CODECOV_*
GITHUB_ACTION
GITHUB_REF
GITHUB_HEAD_REF
GITHUB_RUN_ID
GITHUB_SHA
GITHUB_REPOSITORY
deps = codecov
skip_install = True
changedir = {toxinidir}
depends = coverage
commands = codecov --file "{toxworkdir}/coverage.xml" {posargs}
commands = codecov -e $TOXENV --file "{toxworkdir}/coverage.xml" -F python {posargs}

[testenv:X]
description = print the positional arguments passed in with echo
Expand Down Expand Up @@ -152,9 +160,9 @@ source = src/sourmash/
[gh-actions]
python =
3.7: py37, docs, package_description, coverage, codecov
3.8: py38, coverage, codecov
3.9: py39, coverage, codecov, fix_lint
3.7: py37, coverage, codecov
3.8: py38, docs, package_description, fix_lint, coverage, codecov
3.9: py39, coverage, codecov
[flake8]
max-complexity = 22
Expand Down

0 comments on commit 74a5bd9

Please sign in to comment.