Skip to content

Commit

Permalink
all\feature(build): #20 ci docs lint
Browse files Browse the repository at this point in the history
- added docs linting process to ci
  • Loading branch information
blotero committed Dec 15, 2023
1 parent 76932db commit 5662691
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ jobs:
cd core
python -m pylint src/
deploy-docs:
lint-docs:
runs-on: ubuntu-22.04
if: |
github.ref == 'refs/heads/master' &&
github.ref != 'refs/heads/master' &&
(
startsWith(github.event.head_commit.message, 'docs') ||
startsWith(github.event.head_commit.message, 'all')
Expand All @@ -96,13 +96,12 @@ jobs:
python-version: ${{ matrix.python-version }}
architecture: "x64"

- name: Install dependencies
- name: Verify docs quality
run: |
echo "Installing dependencies"
- name: Deploy sphinx
run: |
echo "Deploying docs"
cd docs
pip install -r src/requirements.txt
rstcheck -r source
make html
deploy-app:
runs-on: ubuntu-22.04
Expand Down

0 comments on commit 5662691

Please sign in to comment.