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
- purged unused app flows pocs
  • Loading branch information
blotero committed Dec 15, 2023
1 parent 76932db commit c54b050
Showing 1 changed file with 9 additions and 34 deletions.
43 changes: 9 additions & 34 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 @@ -90,43 +90,18 @@ jobs:
python-version: [3.11]

steps:
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
architecture: "x64"

- name: Install dependencies
run: |
echo "Installing dependencies"
- name: Deploy sphinx
run: |
echo "Deploying docs"
deploy-app:
runs-on: ubuntu-22.04
if: |
github.ref == 'refs/heads/master' &&
(
startsWith(github.event.head_commit.message, 'app') ||
startsWith(github.event.head_commit.message, 'all')
)
strategy:
matrix:
python-version: [3.11]
- name: Checkout code
uses: actions/checkout@v2

steps:
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
architecture: "x64"

- name: Install dependencies
run: |
echo "Installing dependencies"
- name: Deploy app
- name: Verify docs quality
run: |
echo "Deploying app"
cd docs
pip install -r src/requirements.txt
rstcheck -r source
make html

0 comments on commit c54b050

Please sign in to comment.