Skip to content

Commit 96e88d4

Browse files
aido-mthminikin
andauthored
feat: add nextest filters to run some tests sequentially (#436)
* feat: add nextest filters to run some tests sequentially * fix: update nextest.toml in examples --------- Co-authored-by: Uladzislau Borbut <[email protected]> Co-authored-by: Oleksandr Prokhorenko <[email protected]>
1 parent 26c465b commit 96e88d4

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

earthly/rust/stdcfgs/nextest.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,14 @@ store-success-output = true
4747
# Note that if a description can be extracted from the output, it is always stored in the
4848
# <description> element.
4949
store-failure-output = true
50+
51+
[test-groups]
52+
serial-integration = { max-threads = 1 }
53+
54+
[[profile.default.overrides]]
55+
filter = 'test(/^serial::/)'
56+
test-group = 'serial-integration'
57+
58+
[[profile.ci.overrides]]
59+
filter = 'test(/^serial::/)'
60+
test-group = "serial-integration"

examples/rust/.config/nextest.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,14 @@ store-success-output = true
4747
# Note that if a description can be extracted from the output, it is always stored in the
4848
# <description> element.
4949
store-failure-output = true
50+
51+
[test-groups]
52+
serial-integration = { max-threads = 1 }
53+
54+
[[profile.default.overrides]]
55+
filter = 'test(/^serial::/)'
56+
test-group = 'serial-integration'
57+
58+
[[profile.ci.overrides]]
59+
filter = 'test(/^serial::/)'
60+
test-group = "serial-integration"

0 commit comments

Comments
 (0)