File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,7 @@ name: Code Coverage
33permissions :
44 contents : read
55
6- on :
7- pull_request :
8- workflow_dispatch : # Allow manual triggering
6+ on : [pull_request, workflow_dispatch]
97
108jobs :
119 coverage :
@@ -63,11 +61,16 @@ jobs:
6361 - name : Install library
6462 run : poetry install --no-interaction --all-extras
6563 # ----------------------------------------------
66- # run test suite
64+ # run test suite (quick subset)
6765 # ----------------------------------------------
68- - name : Run tests with coverage
66+ - name : Run quick subset of tests with coverage
6967 continue-on-error : true
70- run : poetry run python -m pytest tests/unit tests/e2e --cov=src --cov-report=xml --cov-report=term
68+ run : |
69+ echo "Running quick subset of e2e tests for validation..."
70+ poetry run python -m pytest \
71+ tests/e2e/test_driver.py::TestPySQLCoreSuite::test_queries \
72+ tests/e2e/test_driver.py::TestPySQLCoreSuite::test_escape_single_quotes \
73+ --cov=src --cov-report=xml --cov-report=term -v
7174 # ----------------------------------------------
7275 # check for coverage override
7376 # ----------------------------------------------
You can’t perform that action at this time.
0 commit comments