Skip to content

Commit e559e9b

Browse files
authored
ci: add timeout for jobs (#618)
## fixes KILTprotocol/ticket#3254 The default 1hr timeout period is no longer enough at the moment for tests. Temporarily extending timeout until tests are optimized ## Metadata Diff to Develop Branch <details> <summary>Peregrine Diff</summary> ``` ``` </details> <details> <summary>Spiritnet Diff</summary> ``` ``` </details> ## Checklist: - [ ] I have verified that the code works - [ ] No panics! (checked arithmetic ops, no indexing `array[3]` use `get(3)`, ...) - [ ] I have verified that the code is easy to understand - [ ] If not, I have left a well-balanced amount of inline comments - [ ] I have [left the code in a better state](https://deviq.com/principles/boy-scout-rule) - [ ] I have documented the changes (where applicable) * Either PR or Ticket to update [the Docs](https://github.com/KILTprotocol/docs) * Link the PR/Ticket here
1 parent b47aaf7 commit e559e9b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ stages:
33
- build
44

55
clippy-and-docs:
6+
timeout: 2 hours
67
image: paritytech/ci-unified:bullseye-1.70.0
78
stage: test
89
script:
@@ -16,12 +17,14 @@ fmt:
1617
- cargo fmt -- --check
1718

1819
test:
20+
timeout: 2 hours
1921
image: paritytech/ci-unified:bullseye-1.70.0
2022
stage: test
2123
script:
2224
- cargo test --all --all-targets --locked
2325

2426
test-features:
27+
timeout: 2 hours
2528
image: paritytech/ci-unified:bullseye-1.70.0
2629
stage: test
2730
script:

0 commit comments

Comments
 (0)