Skip to content

Commit

Permalink
use matrix
Browse files Browse the repository at this point in the history
Signed-off-by: Xuanwo <github@xuanwo.io>
  • Loading branch information
Xuanwo committed Jul 27, 2024
1 parent b6ffb15 commit 98a147e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,25 @@ jobs:

check-python:
runs-on: ubuntu-latest
strategy:
matrix:
packages:
- "opendalfs",
- "services/memory"
steps:
- uses: actions/checkout@v4
- name: Install tools
run: |
pip install ruff
- name: Check format
working-directory: ${matrix.packages}
run: |
ruff format . --diff
- name: Check style
working-directory: ${matrix.packages}
run: |
ruff check .
- uses: PyO3/maturin-action@v1
with:
command: build
working-directory: ${matrix.packages}

0 comments on commit 98a147e

Please sign in to comment.