Skip to content

Commit c0d5e4d

Browse files
committed
Fix CI
1 parent a482638 commit c0d5e4d

File tree

4 files changed

+14
-13
lines changed

4 files changed

+14
-13
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
curl -sSL "https://install.python-poetry.org" | python
3838
3939
# Adding `poetry` to `$PATH`:
40-
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
40+
echo "$HOME/.poetry/bin" >> "$GITHUB_PATH"
4141
4242
- name: Install dependencies
4343
run: |

pyproject.toml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -142,15 +142,10 @@ addopts = [
142142
"--strict-config",
143143
"--strict-markers",
144144
"--doctest-modules",
145-
# Output:
146145
"--tb=short",
147-
# Coverage:
148-
"--cov={{ cookiecutter.project_name.lower().replace('-', '_') }}",
149-
"--cov-report=term-missing:skip-covered",
150-
"--cov-report=html",
151-
"--cov-report=xml",
152-
"--cov-branch",
153-
"--cov-fail-under=100",
146+
# Custom template parts:
147+
"--ignore={{cookiecutter.project_name}}",
148+
"--ignore=hooks",
154149
]
155150

156151

{{cookiecutter.project_name}}/.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
curl -sSL "https://install.python-poetry.org" | python
3838
3939
# Adding `poetry` to `$PATH`:
40-
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
40+
echo "$HOME/.poetry/bin" >> "$GITHUB_PATH"
4141
4242
- name: Install dependencies
4343
run: |

{{cookiecutter.project_name}}/pyproject.toml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,15 @@ addopts = [
143143
"--strict-config",
144144
"--strict-markers",
145145
"--doctest-modules",
146-
# Custom template parts:
147-
"--ignore={{cookiecutter.project_name}}",
148-
"--ignore=hooks",
146+
# Output:
147+
"--tb=short",
148+
# Coverage:
149+
"--cov={{ cookiecutter.project_name.lower().replace('-', '_') }}",
150+
"--cov-report=term-missing:skip-covered",
151+
"--cov-report=html",
152+
"--cov-report=xml",
153+
"--cov-branch",
154+
"--cov-fail-under=100",
149155
]
150156

151157

0 commit comments

Comments
 (0)