Skip to content

Commit

Permalink
Pick out document build at CI (#337)
Browse files Browse the repository at this point in the history
* Pick out document build at CI

* Explicit Python version for doc build as 3.12
  • Loading branch information
kuenishi authored Apr 16, 2024
1 parent e3c480b commit 479758c
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,28 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox
- name: Test with tox
run: |
tox
tox run --skip-env doc
doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox
- name: Test with tox
run: |
tox run -e doc

0 comments on commit 479758c

Please sign in to comment.