Skip to content

Commit a7c7520

Browse files
authored
Properly label conftest.py files (frequenz-floss#121)
These files are not really regular sources, but part of the test tooling.
2 parents 8a742e1 + a563a7e commit a7c7520

File tree

8 files changed

+15
-1
lines changed

8 files changed

+15
-1
lines changed

.github/labeler.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
- "!tests*/**"
1717

1818
"part:tests":
19+
- "**/conftest.py"
1920
- "tests*/**"
2021

2122
"part:tooling":
@@ -24,6 +25,7 @@
2425
- "**/*.toml"
2526
- "**/*.yaml"
2627
- "**/*.yml"
28+
- "**/conftest.py"
2729
- ".editorconfig"
2830
- ".git*"
2931
- ".git*/**"

RELEASE_NOTES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@
3131

3232
### Cookiecutter template
3333

34-
<!-- Here bug fixes for cookiecutter specifically -->
34+
- Properly label `conftest.py` files.

cookiecutter/{{cookiecutter.github_repo_name}}/.github/labeler.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
- LICENSE
3434

3535
"part:tests":
36+
- "**/conftest.py"
3637
{%- if cookiecutter.type == "api" %}
3738
- "pytests/**"
3839
{%- else %}
@@ -44,6 +45,7 @@
4445
- "**/*.toml"
4546
- "**/*.yaml"
4647
- "**/*.yml"
48+
- "**/conftest.py"
4749
- ".editorconfig"
4850
- ".git*"
4951
- ".git*/**"

tests_golden/integration/test_cookiecutter_generation/actor/frequenz-actor-test/.github/labeler.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,15 @@
3333
- LICENSE
3434

3535
"part:tests":
36+
- "**/conftest.py"
3637
- "tests/**"
3738

3839
"part:tooling":
3940
- "**/*.ini"
4041
- "**/*.toml"
4142
- "**/*.yaml"
4243
- "**/*.yml"
44+
- "**/conftest.py"
4345
- ".editorconfig"
4446
- ".git*"
4547
- ".git*/**"

tests_golden/integration/test_cookiecutter_generation/api/frequenz-api-test/.github/labeler.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,15 @@
3333
- LICENSE
3434

3535
"part:tests":
36+
- "**/conftest.py"
3637
- "pytests/**"
3738

3839
"part:tooling":
3940
- "**/*.ini"
4041
- "**/*.toml"
4142
- "**/*.yaml"
4243
- "**/*.yml"
44+
- "**/conftest.py"
4345
- ".editorconfig"
4446
- ".git*"
4547
- ".git*/**"

tests_golden/integration/test_cookiecutter_generation/app/frequenz-app-test/.github/labeler.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,15 @@
3333
- LICENSE
3434

3535
"part:tests":
36+
- "**/conftest.py"
3637
- "tests/**"
3738

3839
"part:tooling":
3940
- "**/*.ini"
4041
- "**/*.toml"
4142
- "**/*.yaml"
4243
- "**/*.yml"
44+
- "**/conftest.py"
4345
- ".editorconfig"
4446
- ".git*"
4547
- ".git*/**"

tests_golden/integration/test_cookiecutter_generation/lib/frequenz-test-python/.github/labeler.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,15 @@
3333
- LICENSE
3434

3535
"part:tests":
36+
- "**/conftest.py"
3637
- "tests/**"
3738

3839
"part:tooling":
3940
- "**/*.ini"
4041
- "**/*.toml"
4142
- "**/*.yaml"
4243
- "**/*.yml"
44+
- "**/conftest.py"
4345
- ".editorconfig"
4446
- ".git*"
4547
- ".git*/**"

tests_golden/integration/test_cookiecutter_generation/model/frequenz-model-test/.github/labeler.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,15 @@
3333
- LICENSE
3434

3535
"part:tests":
36+
- "**/conftest.py"
3637
- "tests/**"
3738

3839
"part:tooling":
3940
- "**/*.ini"
4041
- "**/*.toml"
4142
- "**/*.yaml"
4243
- "**/*.yml"
44+
- "**/conftest.py"
4345
- ".editorconfig"
4446
- ".git*"
4547
- ".git*/**"

0 commit comments

Comments
 (0)