Skip to content

Commit

Permalink
fix rst lint job
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonieFierz committed Jan 3, 2025
1 parent 5c5b064 commit 41a0b2f
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions .github/workflows/pyhton.generate-wrapper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,21 @@ jobs:
with:
name: swig-sources
path: python-wrapper/swig/**
if-no-files-found: error
if-no-files-found: error
check_readme_rst_syntax:
runs-on: "ubuntu-22.04"
defaults:
run:
working-directory: ./python-wrapper
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.8
- name: install rst linter
run: pip install restructuredtext-lint pygments
- name: run
run: rst-lint *.rst
build:
continue-on-error: true
strategy:
Expand Down Expand Up @@ -95,21 +109,9 @@ jobs:
name: source_dist
path: python-wrapper/dist/**
if-no-files-found: error
check_rst_syntax:
runs-on: "ubuntu-22.04"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.8
- name: install rst linter
run: pip install restructuredtext-lint pygments
- name: run
run: |
cd docs
rst-lint *.rst
build_pages:
runs-on: "ubuntu-22.04"
needs: generate-wrapper
defaults:
run:
working-directory: ./python-wrapper
Expand Down

0 comments on commit 41a0b2f

Please sign in to comment.