Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - Ultra Fast Super Slick CI #4755

Closed
wants to merge 47 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
613dd7b
First attempt will never work. Here's to hoping
AgeManning Sep 18, 2023
789ec23
Correct simple mistakes
AgeManning Sep 18, 2023
805d5f4
Fix makefile
AgeManning Sep 18, 2023
f985f3a
More fixes
AgeManning Sep 18, 2023
be10057
Add configuration to nextest
AgeManning Sep 18, 2023
a1c1a4b
detect self-hostedness through runner name
antondlr Sep 18, 2023
fdaf199
try different syntax for `if` statement
antondlr Sep 18, 2023
9ccda0d
test latest windows runner image
antondlr Sep 18, 2023
28aab54
Don't run block processing tests in debug
paulhauner Sep 19, 2023
b0059e1
Looser name matching
AgeManning Sep 19, 2023
bfe7be1
What is this env?
AgeManning Sep 19, 2023
0fea018
Fix builder name matching
AgeManning Sep 19, 2023
fad2e43
Cleanup if statements
AgeManning Sep 19, 2023
34f2ac3
give us some `sccache` stats
antondlr Sep 19, 2023
39b0655
Trial a new rust builder
AgeManning Sep 19, 2023
84cbf33
Fix slasher tests
AgeManning Sep 19, 2023
76871bb
now actually show cache stats
antondlr Sep 19, 2023
ea891ee
proceed if folder exists
antondlr Sep 19, 2023
82134a9
rename `mkdir` to avoid clash
antondlr Sep 19, 2023
1170b6c
Update caching
AgeManning Sep 20, 2023
204138b
Improve workflow and correct web3 tests
AgeManning Sep 20, 2023
0cabbf8
Use mock-instant for lru-time based tests
AgeManning Sep 20, 2023
13034ab
Fix racey tests and doppleganger ci
AgeManning Sep 20, 2023
72be592
show the stats forreal this time
antondlr Sep 20, 2023
f16ae0d
show cache stats on windows
antondlr Sep 20, 2023
b050579
this should already be present in the runner
antondlr Sep 20, 2023
ebd97bf
See how grouping runs goes
AgeManning Sep 21, 2023
8d52106
restrict `release-tests-windows` to CI box
antondlr Sep 21, 2023
d1dedf8
additonal runner labels
antondlr Sep 21, 2023
15debed
disable cache for this task to preserve diskspace
antondlr Sep 21, 2023
dd08419
Update .github/workflows/test-suite.yml
AgeManning Sep 25, 2023
4f2703e
Update .github/workflows/test-suite.yml
AgeManning Sep 25, 2023
280cf3b
Update .github/workflows/test-suite.yml
AgeManning Sep 25, 2023
aa69132
Update .github/workflows/test-suite.yml
AgeManning Sep 25, 2023
a9b7b77
Update .github/workflows/test-suite.yml
AgeManning Sep 25, 2023
c6f4be7
Update .github/workflows/test-suite.yml
AgeManning Sep 25, 2023
10776c2
Apply reviewers comments
AgeManning Sep 25, 2023
2060074
Move env variable to job level and remove windows manual nextest install
AgeManning Sep 26, 2023
0b9de4b
Merge latest unstable
AgeManning Sep 26, 2023
8795474
Update workflow
AgeManning Sep 26, 2023
bee602b
Update lockfile and msrv CI
AgeManning Sep 26, 2023
5f78f12
Re-committing lockfile which didn't get included last run
AgeManning Sep 26, 2023
bb1b39b
Clean `bors.toml`
paulhauner Sep 29, 2023
db0a46a
Clean `bors.toml`
paulhauner Sep 29, 2023
9808741
remove yet-to-be-added job
realbigsean Sep 29, 2023
9627bce
Merge #4795
AgeManning Oct 3, 2023
e4818e7
Merge unstable
AgeManning Oct 3, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
113 changes: 113 additions & 0 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
# This is the default config used by nextest. It is embedded in the binary at
# build time. It may be used as a template for .config/nextest.toml.

[store]
# The directory under the workspace root at which nextest-related files are
# written. Profile-specific storage is currently written to dir/<profile-name>.
dir = "target/nextest"

# This section defines the default nextest profile. Custom profiles are layered
# on top of the default profile.
[profile.default]
# "retries" defines the number of times a test should be retried. If set to a
# non-zero value, tests that succeed on a subsequent attempt will be marked as
# non-flaky. Can be overridden through the `--retries` option.
# Examples
# * retries = 3
# * retries = { backoff = "fixed", count = 2, delay = "1s" }
# * retries = { backoff = "exponential", count = 10, delay = "1s", jitter = true, max-delay = "10s" }
retries = 0

# The number of threads to run tests with. Supported values are either an integer or
# the string "num-cpus". Can be overridden through the `--test-threads` option.
test-threads = "num-cpus"

# The number of threads required for each test. This is generally used in overrides to
# mark certain tests as heavier than others. However, it can also be set as a global parameter.
threads-required = 1

# Show these test statuses in the output.
#
# The possible values this can take are:
# * none: no output
# * fail: show failed (including exec-failed) tests
# * retry: show flaky and retried tests
# * slow: show slow tests
# * pass: show passed tests
# * skip: show skipped tests (most useful for CI)
# * all: all of the above
#
# Each value includes all the values above it; for example, "slow" includes
# failed and retried tests.
#
# Can be overridden through the `--status-level` flag.
status-level = "pass"

# Similar to status-level, show these test statuses at the end of the run.
final-status-level = "flaky"

# "failure-output" defines when standard output and standard error for failing tests are produced.
# Accepted values are
# * "immediate": output failures as soon as they happen
# * "final": output failures at the end of the test run
# * "immediate-final": output failures as soon as they happen and at the end of
# the test run; combination of "immediate" and "final"
# * "never": don't output failures at all
#
# For large test suites and CI it is generally useful to use "immediate-final".
#
# Can be overridden through the `--failure-output` option.
failure-output = "immediate"

# "success-output" controls production of standard output and standard error on success. This should
# generally be set to "never".
success-output = "never"

# Cancel the test run on the first failure. For CI runs, consider setting this
# to false.
fail-fast = true

# Treat a test that takes longer than the configured 'period' as slow, and print a message.
# See <https://nexte.st/book/slow-tests> for more information.
#
# Optional: specify the parameter 'terminate-after' with a non-zero integer,
# which will cause slow tests to be terminated after the specified number of
# periods have passed.
# Example: slow-timeout = { period = "60s", terminate-after = 2 }
slow-timeout = { period = "120s" }

# Treat a test as leaky if after the process is shut down, standard output and standard error
# aren't closed within this duration.
#
# This usually happens in case of a test that creates a child process and lets it inherit those
# handles, but doesn't clean the child process up (especially when it fails).
#
# See <https://nexte.st/book/leaky-tests> for more information.
leak-timeout = "100ms"

[profile.default.junit]
# Output a JUnit report into the given file inside 'store.dir/<profile-name>'.
# If unspecified, JUnit is not written out.

# path = "junit.xml"

# The name of the top-level "report" element in JUnit report. If aggregating
# reports across different test runs, it may be useful to provide separate names
# for each report.
report-name = "lighthouse-run"

# Whether standard output and standard error for passing tests should be stored in the JUnit report.
# Output is stored in the <system-out> and <system-err> elements of the <testcase> element.
store-success-output = false

# Whether standard output and standard error for failing tests should be stored in the JUnit report.
# Output is stored in the <system-out> and <system-err> elements of the <testcase> element.
#
# Note that if a description can be extracted from the output, it is always stored in the
# <description> element.
store-failure-output = true

# This profile is activated if MIRI_SYSROOT is set.
[profile.default-miri]
# Miri tests take up a lot of memory, so only run 1 test at a time by default.
test-threads = 4
Loading
Loading