Add fakes for the S3 service and use the standalone localstack #448
This file contains 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: Lumigator backend tests | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
branches: | |
- "**" | |
jobs: | |
backend-integration-tests: | |
name: Backend integration tests - Python | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v3 | |
- name: Install Python | |
run: uv python install | |
working-directory: lumigator/python/mzai/backend | |
- name: Lint | |
run: uvx ruff check --config ruff.toml | |
continue-on-error: false | |
- name: Run backend unit tests | |
run: make test-backend-unit | |
- name: Run backend integration tests | |
run: AUTO_TEST_RUN=y make test-backend-integration |