Merge pull request #70 from DataIntegrationGroup/feature/dagster-plus… #278
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: CI/CD | |
| on: | |
| push: | |
| branches: [ "pre-production", "feature/jir", "dev/jab", "feature/orchestration-gcp-uv" ] | |
| pull_request: | |
| branches: [ "pre-production" ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| with: | |
| version: "latest" | |
| - name: Set up Python | |
| run: uv python install 3.10 | |
| - name: Install dependencies | |
| run: uv sync --extra dev | |
| - name: Lint with flake8 | |
| run: | | |
| uv run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics | |
| uv run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics | |
| - name: Type check with mypy | |
| run: uv run mypy . --ignore-missing-imports | |
| - name: Test with pytest | |
| run: uv run pytest -s tests |