ci: GHA: separate jobs for linting, docs, doctesting

It helps to know upfront that e.g. linting failed, and makes finding the
error easier.
This commit is contained in:
Daniel Hahler 2020-01-24 00:22:24 +01:00
parent 38538c6c6d
commit c051a9e7b9
1 changed files with 13 additions and 1 deletions

View File

@ -43,6 +43,8 @@ jobs:
"macos-py38",
"linting",
"docs",
"doctesting",
]
include:
@ -112,7 +114,17 @@ jobs:
- name: "linting"
python: "3.7"
os: ubuntu-latest
tox_env: "linting,docs,doctesting"
tox_env: "linting"
skip_coverage: true
- name: "docs"
python: "3.7"
os: ubuntu-latest
tox_env: "docs"
skip_coverage: true
- name: "doctesting"
python: "3.7"
os: ubuntu-latest
tox_env: "doctesting"
steps:
- uses: actions/checkout@v1