Skip to content

Commit 2bbb876

Browse files
wakonigcappel89
authored andcommitted
fix: avoid raising error if no tests were detected
1 parent 6f46e45 commit 2bbb876

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

template/.gitea/workflows/ci.yml.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,4 @@ jobs:
9494

9595
- name: Run Pytest with Coverage
9696
id: coverage
97-
run: pytest --random-order --cov=./{{ project_name }} --cov-config=./{{ project_name }}/pyproject.toml --cov-branch --cov-report=xml --no-cov-on-fail ./{{ project_name }}/tests/
97+
run: pytest --random-order --cov=./{{ project_name }} --cov-config=./{{ project_name }}/pyproject.toml --cov-branch --cov-report=xml --no-cov-on-fail ./{{ project_name }}/tests/ || test $? -eq 5

0 commit comments

Comments
 (0)