Skip to content

Commit

Permalink
chore: use action
Browse files Browse the repository at this point in the history
Signed-off-by: Ion Koutsouris <[email protected]>
  • Loading branch information
ion-elgreco committed Feb 5, 2025
1 parent 518b3ea commit 9ebb194
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/quality-check-dagster-obstore-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,33 +10,32 @@ on:
jobs:
check:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ${{ inputs.working_directory }}
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Start moto,azurite servers
run: docker-compose up -d
working-directory: ${{ inputs.working_directory }}
- name: Run docker compose
uses: hoverkraft-tech/[email protected]
with:
compose-file: "${{ inputs.working_directory }}/docker-compose.yml"

- name: Install uv
uses: astral-sh/setup-uv@v3

- name: Install python
working-directory: ${{ inputs.working_directory }}
run: uv python install 3.12

- name: Sync dependencies
working-directory: ${{ inputs.working_directory }}
run: uv sync

- name: Ruff
working-directory: ${{ inputs.working_directory }}
run: uv run ruff check

- name: Pyright
working-directory: ${{ inputs.working_directory }}
run: uv run pyright

- name: Pytest
working-directory: ${{ inputs.working_directory }}
run: uv run pytest

0 comments on commit 9ebb194

Please sign in to comment.