diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 0e490441..3df583a9 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -18,7 +18,9 @@ jobs: - os: 'macos-latest' command: 'bundle exec rake' - os: ubuntu-latest - command: 'test/config/update_certs_k0s.rb' + # Sometimes minitest starts and then just hangs printing nothing. + # Github by default kills after 6hours(!). Hopefully SIGTERM may let it print some details? + command: 'timeout --signal=TERM 3m test/config/update_certs_k0s.rb' include: # run rubocop against lowest supported ruby - os: ubuntu-latest @@ -35,4 +37,5 @@ jobs: - run: gem install rake bundler - run: bundle install - run: ${{ matrix.os_and_command.command }} + timeout-minutes: 10