File tree Expand file tree Collapse file tree 2 files changed +27
-7
lines changed Expand file tree Collapse file tree 2 files changed +27
-7
lines changed Original file line number Diff line number Diff line change 99jobs :
1010 coverage :
1111 runs-on : ubuntu-latest
12+ environment : azure-prod
13+ env :
14+ DATABRICKS_SERVER_HOSTNAME : ${{ secrets.DATABRICKS_HOST }}
15+ DATABRICKS_HTTP_PATH : ${{ secrets.TEST_PECO_WAREHOUSE_HTTP_PATH }}
16+ DATABRICKS_TOKEN : ${{ secrets.DATABRICKS_TOKEN }}
17+ DATABRICKS_CATALOG : peco
18+ DATABRICKS_USER : ${{ secrets.TEST_PECO_SP_ID }}
1219 steps :
1320 # ----------------------------------------------
1421 # check-out repo and set-up python
5360 # install your root project, if required
5461 # ----------------------------------------------
5562 - name : Install library
56- run : poetry install --no-interaction
57- # ----------------------------------------------
58- # install additional dependencies for e2e tests
59- # ----------------------------------------------
60- - name : Install e2e test dependencies
61- run : poetry run pip install pyarrow
63+ run : poetry install --no-interaction --all-extras
6264 # ----------------------------------------------
6365 # run test suite
6466 # ----------------------------------------------
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ pyarrow = [
2626 { version = " >=18.0.0" , python = " >=3.13" , optional =true }
2727]
2828pyjwt = " ^2.0.0"
29- pytest-cov = " ^4.1 .0"
29+ pytest-cov = " ^4.0 .0"
3030coverage = " ^7.0.0"
3131
3232
@@ -66,3 +66,21 @@ log_cli = "false"
6666log_cli_level = " INFO"
6767testpaths = [" tests" ]
6868env_files = [" test.env" ]
69+
70+ [tool .coverage .run ]
71+ source = [" src" ]
72+ branch = true
73+ omit = [
74+ " */tests/*" ,
75+ " */test_*" ,
76+ " */__pycache__/*" ,
77+ " */thrift_api/*" ,
78+ ]
79+
80+ [tool .coverage .report ]
81+ precision = 2
82+ show_missing = true
83+ skip_covered = false
84+
85+ [tool .coverage .xml ]
86+ output = " coverage.xml"
You can’t perform that action at this time.
0 commit comments