This repository was archived by the owner on Aug 20, 2025. It is now read-only.
Deploy prod #53
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Run Tests on PR | |
| on: | |
| pull_request: | |
| branches: | |
| - '*' | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'pull_request' | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install dependencies | |
| run: | | |
| curl -sSL https://install.python-poetry.org | python - | |
| poetry install | |
| - name: Run tests | |
| run: poetry run pytest --cov=metadata_service | |
| - name: Run Ruff check | |
| run: poetry run ruff check --output-format=github | |
| - name: Run Ruff format | |
| run: poetry run ruff format --diff |