Skip to content

Commit

Permalink
add docs to test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fgrunewald committed Jan 7, 2025
1 parent d62db77 commit 2ab291b
Showing 1 changed file with 28 additions and 3 deletions.
31 changes: 28 additions & 3 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
py_version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
Expand All @@ -30,7 +30,7 @@ jobs:
pip install --upgrade .
pip install git+https://github.com/pckroon/pysmiles.git
pip install -r requirements-tests.txt
- name: Run pytest with codecoverage
run: pytest --cov cgsmiles --cov-report=xml
# - name: Upload coverage codecov
Expand All @@ -55,6 +55,31 @@ jobs:
pip install --upgrade setuptools pip
pip install --upgrade .
pip install -r requirements-tests.txt
- name: Run pylint
- name: Run pylint
run: |
pylint --disable=fixme --fail-under=8.0 cgsmiles
docs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python 3
uses: actions/setup-python@v5
with:
python-version: '3.x'
cache: pip
cache-dependency-path: |
**/setup.cfg
**/requirements-*.txt
**/pyproject.toml
- name: Install dependencies
run: |
pip install --upgrade setuptools pip
pip install --upgrade .
pip install -r requirements-docs.txt
- name: Run docs
run: |
mkdir -p doc/source/_static
sphinx-build -EnW -b html doc/source/ doc/build/html

0 comments on commit 2ab291b

Please sign in to comment.