File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,12 +2,18 @@ name: T3 CI
22
33on :
44 workflow_dispatch :
5+ push :
6+ branches : [main]
57 pull_request :
68 branches : [main]
79 types : [opened, synchronize, reopened]
810 schedule :
911 - cron : ' 0 0 * * *'
1012
13+ concurrency :
14+ group : ${{ github.workflow }}-${{ github.ref }}
15+ cancel-in-progress : true
16+
1117jobs :
1218 lint :
1319 name : Lint (ruff)
Original file line number Diff line number Diff line change 1010 pytest tests/ --cov -ra -vv
1111
1212test-main :
13- pytest tests/test_main.py -ra -vv
13+ pytest tests/test_main.py --cov - ra -vv
1414
1515test-functional :
16- pytest tests/test_functional.py -ra -vv
16+ pytest tests/test_functional.py --cov - ra -vv
Original file line number Diff line number Diff line change @@ -38,6 +38,12 @@ ignore = [
3838 " W291" , # trailing whitespace
3939]
4040
41+ [tool .pytest .ini_options ]
42+ filterwarnings = [
43+ " ignore::DeprecationWarning" ,
44+ " ignore::PendingDeprecationWarning" ,
45+ ]
46+
4147[tool .ruff .lint .per-file-ignores ]
4248"__init__.py" = [" F401" ] # unused imports in __init__.py are re-exports
4349"t3/runners/rmg_incore_sa.py" = [" E701" ] # subprocess script, compact one-liners are fine
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments