File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,8 @@ jobs:
182182 run : poetry install
183183
184184 # Job-specific step(s):
185- - name : Run Pytest
185+ - name : Run Pytest [all]
186+ if : matrix.os != 'Windows'
186187 timeout-minutes : 60
187188 env :
188189 GCP_GSM_CREDENTIALS : ${{ secrets.GCP_GSM_CREDENTIALS }}
@@ -191,6 +192,17 @@ jobs:
191192 --verbose
192193 -m "not linting and not super_slow and not flaky"
193194
195+ - name : Run Pytest [unit tests only]
196+ if : matrix.os == 'Windows'
197+ timeout-minutes : 60
198+ env :
199+ GCP_GSM_CREDENTIALS : ${{ secrets.GCP_GSM_CREDENTIALS }}
200+ run : >
201+ poetry run coverage run -m pytest
202+ --verbose
203+ tests/unit_tests/
204+ -m "not linting and not super_slow and not flaky"
205+
194206 - name : Print Coverage Report
195207 if : always()
196208 run : poetry run coverage report
Original file line number Diff line number Diff line change @@ -183,6 +183,7 @@ airbyte-mcp = "airbyte.mcp.server:main"
183183[tool .poe .tasks ]
184184test = { shell = " pytest" }
185185test-fast = { shell = " pytest --durations=5 --exitfirst -m 'not slow'" }
186+ test-unit-tests = { shell = " pytest tests/unit_tests/" }
186187
187188coverage = { shell = " coverage run -m pytest && coverage report" }
188189coverage-report = { shell = " coverage report" }
You can’t perform that action at this time.
0 commit comments