Skip to content

Commit 790c64b

Browse files
committed
Updated CI, Makefile, TOML
1 parent 7ac72cd commit 790c64b

4 files changed

Lines changed: 14 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,18 @@ name: T3 CI
22

33
on:
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+
1117
jobs:
1218
lint:
1319
name: Lint (ruff)

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ test:
1010
pytest tests/ --cov -ra -vv
1111

1212
test-main:
13-
pytest tests/test_main.py -ra -vv
13+
pytest tests/test_main.py --cov -ra -vv
1414

1515
test-functional:
16-
pytest tests/test_functional.py -ra -vv
16+
pytest tests/test_functional.py --cov -ra -vv

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff 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

pytest.ini

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)