aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJohn Levon <john.levon@nutanix.com>2021-02-10 21:40:54 +0000
committerGitHub <noreply@github.com>2021-02-10 21:40:54 +0000
commit1508aedc4750df46dbc88c22f5df18d79bf06db9 (patch)
tree4c11778659aab4cacadac123954f76aec31735e7 /.github
parentcf449d6290ddd723a23f0451d0ce18ffc6099e15 (diff)
downloadlibvfio-user-1508aedc4750df46dbc88c22f5df18d79bf06db9.zip
libvfio-user-1508aedc4750df46dbc88c22f5df18d79bf06db9.tar.gz
libvfio-user-1508aedc4750df46dbc88c22f5df18d79bf06db9.tar.bz2
timeout github actions jobs after 5 minutes (#332)
The default of 360 minutes isn't really necessary... Signed-off-by: John Levon <john.levon@nutanix.com> Reviewed-by: Swapnil Ingle <swapnil.ingle@nutanix.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/pull_request.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml
index ef2a1cd..2df27c2 100644
--- a/.github/workflows/pull_request.yml
+++ b/.github/workflows/pull_request.yml
@@ -2,6 +2,7 @@ name: pull_request
on: pull_request
jobs:
ubuntu-20:
+ timeout-minutes: 5
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
@@ -11,6 +12,7 @@ jobs:
sudo apt-get -y install libjson-c-dev libcmocka-dev clang valgrind
make pre-push VERBOSE=1
ubuntu-18:
+ timeout-minutes: 5
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
@@ -19,6 +21,7 @@ jobs:
sudo apt-get -y install libjson-c-dev libcmocka-dev clang valgrind
make pre-push VERBOSE=1
centos-7:
+ timeout-minutes: 5
runs-on: ubuntu-latest
container: centos:7
steps:
@@ -30,6 +33,7 @@ jobs:
openssl-devel valgrind
make pre-push VERBOSE=1
fedora-rawhide:
+ timeout-minutes: 5
runs-on: ubuntu-latest
container: fedora:rawhide
steps: