Skip to content

Commit

Permalink
ci: set working dir
Browse files Browse the repository at this point in the history
  • Loading branch information
shaokeyibb committed Jul 3, 2024
1 parent d2d5532 commit ac746ce
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ jobs:
check-format:
name: Check PR Format
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./python-markdown-extension
steps:
- uses: actions/checkout@v4
name: Checkout Repo
Expand All @@ -19,15 +22,16 @@ jobs:
with:
enable-cache: true
working-directory: python-markdown-extension
- run: |
cd python-markdown-extension
rye sync
- run: rye sync
name: Install Dependencies
- run: rye fmt --check
name: Check Format
test:
name: Test PR
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./python-markdown-extension
steps:
- uses: actions/checkout@v4
name: Checkout Repo
Expand All @@ -36,9 +40,7 @@ jobs:
with:
enable-cache: true
working-directory: python-markdown-extension
- run: |
cd python-markdown-extension
rye sync
- run: rye sync
name: Install Dependencies
- run: rye run test
name: Run Tests

0 comments on commit ac746ce

Please sign in to comment.