Skip to content

Commit feef8d2

Browse files
authored
pants: use __defaults__ to propogate unit,integration,benchmarks tags on tests (#5853)
* use __defaults__ to propogate unit,integration,benchmarks tags on tests * update changelog entry
1 parent 17359fe commit feef8d2

File tree

38 files changed

+166
-1
lines changed

38 files changed

+166
-1
lines changed

CHANGELOG.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Added
1414
working on StackStorm, improve our security posture, and improve CI reliability thanks in part
1515
to pants' use of PEX lockfiles. This is not a user-facing addition.
1616
#5778 #5789 #5817 #5795 #5830 #5833 #5834 #5841 #5840 #5838 #5842 #5837 #5849 #5850
17-
#5846
17+
#5846 #5853
1818
Contributed by @cognifloyd
1919

2020
* Added a joint index to solve the problem of slow mongo queries for scheduled executions. #5805
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
__defaults__(
2+
{(python_test, python_tests): dict(tags=["integration"])},
3+
extend=True,
4+
)
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
__defaults__(
2+
{(python_test, python_tests): dict(tags=["unit"])},
3+
extend=True,
4+
)
5+
16
python_tests(
27
name="tests",
38
)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
__defaults__(
2+
{(python_test, python_tests): dict(tags=["integration"])},
3+
extend=True,
4+
)
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
__defaults__(
2+
{(python_test, python_tests): dict(tags=["unit"])},
3+
extend=True,
4+
)
5+
16
python_tests(
27
name="tests",
38
)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
__defaults__(
2+
{(python_test, python_tests): dict(tags=["integration"])},
3+
extend=True,
4+
)
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
__defaults__(
2+
{(python_test, python_tests): dict(tags=["unit"])},
3+
extend=True,
4+
)
5+
16
python_tests(
27
name="tests",
38
)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
__defaults__(
2+
{(python_test, python_tests): dict(tags=["integration"])},
3+
extend=True,
4+
)
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
__defaults__(
2+
{(python_test, python_tests): dict(tags=["unit"])},
3+
extend=True,
4+
)
5+
16
python_tests(
27
name="tests",
38
)
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
__defaults__(
2+
{(python_test, python_tests): dict(tags=["integration"])},
3+
extend=True,
4+
)
5+
16
python_tests(
27
name="tests",
38
)

0 commit comments

Comments
 (0)