test: Send test-coverage data from GitHub Action

This commit is contained in:
Takeshi KOMIYA
2020-11-05 00:33:05 +09:00
parent 3171fd709a
commit 155213c6c9
2 changed files with 11 additions and 7 deletions

View File

@@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
name: [py35, py36, py37]
name: [py35, py36, py37, py38]
include:
- name: py35
python: 3.5
@@ -19,6 +19,12 @@ jobs:
- name: py37
python: 3.7
docutils: du14
- name: py38
python: 3.8
docutils: du15
coverage: "--cov ./ --cov-append --cov-config setup.cfg"
env:
PYTEST_ADDOPTS: ${{ matrix.coverage }}
steps:
- uses: actions/checkout@v2
@@ -31,9 +37,12 @@ jobs:
- name: Install graphviz
run: sudo apt-get install graphviz
- name: Install dependencies
run: pip install -U tox
run: pip install -U tox codecov
- name: Run Tox
run: tox -e ${{ matrix.docutils }} -- -vv
- name: codecov
uses: codecov/codecov-action@v1
if: matrix.coverage
windows:
runs-on: windows-latest

View File

@@ -11,11 +11,6 @@ env:
jobs:
include:
- python: '3.8'
env:
- TOXENV=du15
- PYTEST_ADDOPTS="--cov ./ --cov-append --cov-config setup.cfg"
- language: node_js
node_js: '10.7'
env: IS_PYTHON=false