Skip to content

Commit

Permalink
debug: gh workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tanbro committed Apr 8, 2024
1 parent 97ee244 commit 19ded2c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
fi
echo "version=${PEP440_VERSION}" | tee -a $GITHUB_OUTPUT
check-mkdocs_gh_dploy:
check-mkdocs:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -39,17 +39,17 @@ jobs:
cache: pip # caching pip dependencies
- name: Install project and dependent tools
run: |
python3 -m pip install -r requirements.txt
pip install -e . -r requirements.txt
- name: Check with ruff
run: |
python3 -m ruff check .
- name: Update docs
ruff check .
- name: MkDocs gh-deploy
run: |
python3 -m mkdocs gh-deploy
mkdocs gh-deploy
build:
runs-on: ubuntu-latest
needs: [get-version-pep440, check-mkdocs_gh_dploy]
needs: [get-version-pep440, check-mkdocs]
if: needs.get-version-pep440.outputs.version != ''
steps:
- name: Checkout
Expand Down
3 changes: 0 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# The file defines requirements for the project's local development.
# It's NOT package install dependencies.

# project itself
-e .

# material theme and markdown extensions
mkdocs-material
pymdown-extensions
Expand Down

0 comments on commit 19ded2c

Please sign in to comment.