Skip to content

Commit

Permalink
Update .readthedocs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aksiome committed Dec 2, 2024
1 parent 663f651 commit 587b6a0
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 20 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/distribute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ jobs:
- uses: actions/checkout@v4
- uses: fregante/setup-git-user@v2
- uses: pdm-project/setup-pdm@v4
- run: pdm install
- name: Generate metadata
id: generate
run: |
pdm install
pdm run meta update
run: pdm run meta update
release:
needs: metadata
name: 🔖 Create release
Expand All @@ -31,10 +30,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: fregante/setup-git-user@v2
- run: pdm install
- name: Build release files
run: |
pdm install
pdm run modules release
run: pdm run modules release
- uses: softprops/action-gh-release@v2
with:
name: ${{ needs.metadata.outputs.release_tag }}
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: pdm-project/setup-pdm@v4
- run: pdm install
- name: Check modules
run: |
pdm install
pdm run modules check
run: pdm run modules check
test:
name: 🧪 Test modules
runs-on: ubuntu-latest
Expand All @@ -27,7 +26,6 @@ jobs:
with:
distribution: 'temurin'
java-version: '21'
- run: pdm install
- name: Test modules
run: |
pdm install
pdm run modules test
run: pdm run modules test
14 changes: 6 additions & 8 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@ build:
os: ubuntu-22.04
tools:
python: "3.12"
commands:
- python -m pip install pdm
- pdm install
- cat docs/conf.py
- python -m sphinx -T -b html -d _build/doctrees -D language=en . $READTHEDOCS_OUTPUT/html

sphinx:
configuration: docs/conf.py

python:
install:
- method: pip
path: .
extra_requirements:
- docs
configuration: docs/conf.py

0 comments on commit 587b6a0

Please sign in to comment.