Skip to content

Commit

Permalink
Add CI timeouts
Browse files Browse the repository at this point in the history
- No CI job should take longer than an hour.
- No individual test run should take longer than 10 minutes.
  • Loading branch information
martincostello committed Apr 29, 2024
1 parent 31f7cce commit 3c642fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Expand Up @@ -24,6 +24,7 @@ jobs:
build:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
timeout-minutes: 60

env:
# HACK Running on Windows instead of Linux due to https://github.com/stryker-mutator/stryker-net/issues/2741
Expand Down
1 change: 1 addition & 0 deletions build.cake
Expand Up @@ -157,6 +157,7 @@ Task("__RunTests")
Configuration = configuration,
Loggers = loggers,
NoBuild = true,
ToolTimeout = System.TimeSpan.FromMinutes(10),
});
}
});
Expand Down

0 comments on commit 3c642fd

Please sign in to comment.