fix(ci): exclude E2E tests requiring Docker-in-Docker from CI
- Add missing pytest markers (e2e, requires_docker) to pyproject.toml - Update CI workflow to skip E2E tests with -m "not e2e" - Update integration test documentation with CI configuration notes - E2E tests can still be run locally with: pytest -m e2e Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
@@ -40,7 +40,10 @@ jobs:
|
||||
pip install -r requirements-dev.txt
|
||||
|
||||
- name: Run Tests
|
||||
run: pytest tests/ -v --cov=app --cov-report=xml --cov-report=term --junitxml=junit.xml -o junit_family=legacy
|
||||
# Exclude E2E tests (-m "not e2e") as they require Docker-in-Docker (testcontainers)
|
||||
# which isn't well-supported in GitHub Actions without additional DinD configuration.
|
||||
# E2E tests can be run locally with: pytest -m e2e
|
||||
run: pytest tests/ -v --cov=app --cov-report=xml --cov-report=term --junitxml=junit.xml -o junit_family=legacy -m "not e2e"
|
||||
|
||||
- name: Upload coverage reports to Codecov
|
||||
uses: codecov/codecov-action@v5
|
||||
|
||||
Reference in New Issue
Block a user