Skip to content

Commit

Permalink
CI: add 10 minute timeout
Browse files Browse the repository at this point in the history
Currently our tests run for less than two minutes.
	Adding a timeout of 10 minutes seems save and prevents wasting resources.
  • Loading branch information
fischerling committed Mar 15, 2024
1 parent 1619cce commit 11719d3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ jobs:
cmake --build build --parallel 2
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Clone repository
uses: actions/checkout@v4
Expand Down
1 change: 0 additions & 1 deletion programs/cat.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,5 @@ int main(int argc, char **argv)
ret = EXIT_FAILURE;
}
}
putchar('\n');
return ret;
}

0 comments on commit 11719d3

Please sign in to comment.