Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .github/workflows/python_pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,8 @@ jobs:
run: poetry install

# Job-specific step(s):
- name: Run Pytest
- name: Run Pytest [all]
if: matrix.os != 'Windows'
timeout-minutes: 60
env:
GCP_GSM_CREDENTIALS: ${{ secrets.GCP_GSM_CREDENTIALS }}
Expand All @@ -191,6 +192,17 @@ jobs:
--verbose
-m "not linting and not super_slow and not flaky"

- name: Run Pytest [unit tests only]
if: matrix.os == 'Windows'
timeout-minutes: 60
env:
GCP_GSM_CREDENTIALS: ${{ secrets.GCP_GSM_CREDENTIALS }}
run: >
poetry run coverage run -m pytest
--verbose
tests/unit_tests/
-m "not linting and not super_slow and not flaky"

- name: Print Coverage Report
if: always()
run: poetry run coverage report
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ airbyte-mcp = "airbyte.mcp.server:main"
[tool.poe.tasks]
test = { shell = "pytest" }
test-fast = { shell = "pytest --durations=5 --exitfirst -m 'not slow'" }
test-unit-tests = { shell = "pytest tests/unit_tests/" }

coverage = { shell = "coverage run -m pytest && coverage report" }
coverage-report = { shell = "coverage report" }
Expand Down
Loading