Skip to content

Commit

Permalink
ci(github-actions): install invoke
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee-W committed Nov 21, 2024
1 parent 6f4ba7b commit b318715
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/main-updated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,12 @@ jobs:
- name: Install dependencies
run: |
uv --version
uv tool install invoke
uv sync --group dev --group doc
- name: Build docs
run: |
uv run inv doc.build
inv doc.build
- name: Push doc to Github Page
uses: peaceiris/actions-gh-pages@v4
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/pushed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,13 @@ jobs:
- name: Install dependencies
run: |
uv --version
uv tool install invoke
uv sync --no-group doc
- name: Run pre-commit hooks
run: |
SKIP=no-commit-to-branch,commitizen-branch uv run inv run-pre-commit-hooks
SKIP=no-commit-to-branch,commitizen-branch inv run-pre-commit-hooks
- name: Run slow tests
run: |
uv run inv test --run-slow-tests
inv test --run-slow-tests

0 comments on commit b318715

Please sign in to comment.