File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ on: [push, pull_request]
55jobs :
66 tests :
77 runs-on : ${{ matrix.os }}
8- timeout-minutes : 15
8+ timeout-minutes : ${{ (matrix.os == 'windows-latest' && 30) || 15 }}
99
1010 defaults :
1111 run :
3636 run : |
3737 pip install poetry poetry-plugin-export
3838 poetry config virtualenvs.create false
39- poetry export --with dev --extras dbc --format requirements.txt --output reqs.txt --without-hashes
40- pip install -r reqs.txt
41- pip install -e ".[dbc]"
39+ if [ "${{ runner.os }}" = "Linux" ]; then
40+ poetry install --without dev --extras dbc
41+ pip install pre-commit
42+ else
43+ poetry install --without dev
44+ fi
45+ pip install pytest pytest-timeout pytest-retry pytest-asyncio pytest-cov
4246
4347 - name : Linting
4448 if : matrix.os == 'ubuntu-latest'
Original file line number Diff line number Diff line change 8484 make html
8585
8686 - name : Configure GitHub Pages
87+ if : github.ref == 'refs/heads/main'
8788 uses : actions/configure-pages@v5
8889
8990 - name : Upload artifact
91+ if : github.ref == 'refs/heads/main'
9092 uses : actions/upload-pages-artifact@v3
9193 with :
9294 path : docs/build/html
Original file line number Diff line number Diff line change @@ -102,6 +102,12 @@ testpaths = [
102102
103103exclude = [" *.git" , " docs/" ]
104104
105+ [tool .coverage .run ]
106+ omit = [
107+ " pysus/management/client.py" ,
108+ " pysus/tui/*" ,
109+ ]
110+
105111[[tool .mypy .overrides ]]
106112module = " tests.*"
107113disallow_untyped_defs = false
You can’t perform that action at this time.
0 commit comments