Skip to content

Commit

Permalink
Also build the documentation in the CI workflow
Browse files Browse the repository at this point in the history
… but not on 3.10, since mkdocs fixed compatibility but didn't yet
make a release compatible with it.
  • Loading branch information
iustin committed Jun 5, 2021
1 parent b147cbf commit 3d61cd0
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ jobs:
- '3.8'
- '3.9'
- '3.10-dev'
fail-fast: true
include:
# mkdocs doesn't have yet a release compatible with 3.10
- os: ubuntu-latest
python-version: '3.10-dev'
skipDocs: ${{ true }}
fail-fast: false

steps:
- name: Checkout
Expand Down Expand Up @@ -41,6 +46,7 @@ jobs:
pip install PyYAML pytest bsddb3
pip install pytest-cov codecov
pip install mypy pycodestyle pylint
pip install mkdocs
- name: Test types
run: make mypy
Expand Down Expand Up @@ -71,3 +77,7 @@ jobs:
with:
name: code-coverage-${{ matrix.os }}-${{ matrix.python-version }}
path: codecov-report.txt

- name: Build documentation
run: make site
if: ${{ ! matrix.skipDocs }}

0 comments on commit 3d61cd0

Please sign in to comment.