Skip to content

Commit 519a3ff

Browse files
author
Tom Softreck
committed
update
1 parent 7b1406c commit 519a3ff

File tree

3 files changed

+20
-10
lines changed

3 files changed

+20
-10
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
os: [ubuntu-latest]
23-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
23+
python-version: ['3.8', '3.9', '3.10', '3.11']
2424

2525
steps:
2626
- name: Checkout code
@@ -53,17 +53,11 @@ jobs:
5353
5454
- name: Install dependencies
5555
run: |
56-
poetry install --with dev --no-interaction
56+
poetry install --with dev,test --no-interaction
5757
5858
- name: Run tests with coverage
5959
run: |
60-
poetry run pytest \
61-
--cov=src/dialogchain \
62-
--cov-report=xml \
63-
--cov-report=term-missing \
64-
--cov-report=html \
65-
-v \
66-
tests/
60+
poetry run pytest
6761
6862
- name: Upload coverage to Codecov
6963
uses: codecov/codecov-action@v4
@@ -74,7 +68,7 @@ jobs:
7468

7569
- name: Run type checking
7670
run: |
77-
poetry run mypy src/dialogchain
71+
poetry run mypy src/dialogchain --ignore-missing-imports
7872
7973
- name: Lint with flake8
8074
run: |

.gitignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,21 @@ __pycache__/
1010
*.py[cod]
1111
*$py.class
1212

13+
__pycache__/
14+
*.pyc
15+
*.pyo
16+
*.pyd
17+
.Python
18+
venv/
19+
.venv/
20+
dist/
21+
build/
22+
*.egg-info/
23+
.coverage
24+
htmlcov/
25+
.pytest_cache/
26+
.mypy_cache/
27+
1328
# C extensions
1429
*.so
1530

pytest.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ python_files = test_*.py
44
python_classes = Test*
55
python_functions = test_*
66
asyncio_mode = auto
7+
addopts = --strict-markers --disable-warnings

0 commit comments

Comments
 (0)