Skip to content

Commit 6504d60

Browse files
committed
Pytest
1 parent 4918b68 commit 6504d60

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
# yamllint disable rule:line-length
3333
run: |
3434
python -c "import os; print(os.getcwd())"
35-
python -m pytest tests/ -v --cov-report term-missing --cov=lessons --cov-report=xml
35+
python -m pytest . -v --cov-report term-missing --cov=lessons --cov-report=xml
3636
# yamllint enable rule:line-length
3737
- name: Upload coverage to Codecov
3838
uses: codecov/codecov-action@v5.5.0

pytest.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[pytest]
2+
pythonpath = .
3+
junit_duration_report = call
4+
python_files = *.py

0 commit comments

Comments
 (0)