From b0c5b68f5baafd1569037b6bc553a600417e0dee Mon Sep 17 00:00:00 2001 From: Erik Schierboom Date: Wed, 15 Feb 2023 09:33:57 +0100 Subject: [PATCH 1/2] Update average run time --- building/configlet/lint.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/building/configlet/lint.md b/building/configlet/lint.md index 8176f7ac..c5c9bc17 100644 --- a/building/configlet/lint.md +++ b/building/configlet/lint.md @@ -108,7 +108,7 @@ The `config.json` file should have the following checks: - If the track is `d` or `plsql`, the `"files.solution"` and `"files.test"` files _can_ overlap - The `"files.example` and `"files.exemplar"` files _can_ overlap - The `"test_runner.average_run_time"` key is required if `"status.test_runner"` is equal to `true` -- The `"test_runner.average_run_time"` value must be a floating-point number > 0 with one decimal point of precision +- The `"test_runner.average_run_time"` value must be positive integer > 0 or a floating-point number > 0.0 with one decimal point of precision - The `"approaches.snippet_extension"` key is required if the track has one or more approaches - The `"approaches.snippet_extension"` value must be a non-blank string¹ - The `"exercises"` key is required From 5711419206027932a067f9f28473e5a72844249e Mon Sep 17 00:00:00 2001 From: Erik Schierboom Date: Tue, 18 Jul 2023 10:31:27 +0200 Subject: [PATCH 2/2] Update building/configlet/lint.md Co-authored-by: ee7 <45465154+ee7@users.noreply.github.com> --- building/configlet/lint.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/building/configlet/lint.md b/building/configlet/lint.md index c5c9bc17..69942330 100644 --- a/building/configlet/lint.md +++ b/building/configlet/lint.md @@ -108,7 +108,7 @@ The `config.json` file should have the following checks: - If the track is `d` or `plsql`, the `"files.solution"` and `"files.test"` files _can_ overlap - The `"files.example` and `"files.exemplar"` files _can_ overlap - The `"test_runner.average_run_time"` key is required if `"status.test_runner"` is equal to `true` -- The `"test_runner.average_run_time"` value must be positive integer > 0 or a floating-point number > 0.0 with one decimal point of precision +- The `"test_runner.average_run_time"` value must be an integer > 0 - The `"approaches.snippet_extension"` key is required if the track has one or more approaches - The `"approaches.snippet_extension"` value must be a non-blank string¹ - The `"exercises"` key is required