Skip to content

Commit

Permalink
[CI] Reduce timeout limits
Browse files Browse the repository at this point in the history
Some PR's may create convergence issues in individual tests of the test suite
that are only uncovered when a PR is pushed. This update ensures that jobs are
cancelled to avoid CI bottlenecks.
  • Loading branch information
ischoegl authored and bryanwweber committed Feb 18, 2022
1 parent e19a561 commit 041559d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
ubuntu-multiple-pythons:
name: ${{ matrix.os }} with Python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
timeout-minutes: 60
strategy:
matrix:
python-version: [ '3.6', '3.9', '3.10' ]
Expand Down Expand Up @@ -55,6 +56,7 @@ jobs:
clang-compiler:
name: LLVM/Clang with Python 3.8
runs-on: ubuntu-20.04
timeout-minutes: 60
steps:
- uses: actions/checkout@v2
name: Checkout the repository
Expand Down Expand Up @@ -85,6 +87,7 @@ jobs:
macos-multiple-pythons:
name: macOS with Python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
timeout-minutes: 60
strategy:
matrix:
python-version: [ '3.7', '3.9', '3.10' ]
Expand Down Expand Up @@ -128,6 +131,7 @@ jobs:
coverage:
name: Coverage
runs-on: ubuntu-latest
timeout-minutes: 90
steps:
- uses: actions/checkout@v2
name: Checkout the repository
Expand Down Expand Up @@ -177,6 +181,7 @@ jobs:
docs:
name: Build docs
runs-on: ubuntu-latest
timeout-minutes: 60
env:
DEPLOY: ${{ github.event_name == 'push' && github.repository_owner == 'Cantera' && endsWith(github.ref, 'main') }}
steps:
Expand Down Expand Up @@ -245,6 +250,7 @@ jobs:
run-examples:
name: Run the Python examples using bash
runs-on: ubuntu-18.04
timeout-minutes: 60
strategy:
matrix:
python-version: ['3.6', '3.9', '3.10']
Expand Down Expand Up @@ -291,6 +297,7 @@ jobs:
multiple-sundials:
name: Sundials ${{ matrix.sundials-ver }}
runs-on: ubuntu-latest
timeout-minutes: 60
defaults:
run:
shell: bash -l {0}
Expand Down Expand Up @@ -326,6 +333,7 @@ jobs:
cython-latest:
name: Test pre-release version of Cython
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v2
name: Checkout the repository
Expand Down Expand Up @@ -354,6 +362,7 @@ jobs:
check-deprecations:
name: Run test suite without legacy typedefs
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v2
name: Checkout the repository
Expand Down Expand Up @@ -382,6 +391,7 @@ jobs:
windows:
name: ${{ matrix.os }}, MSVC ${{ matrix.vs-toolset }}, Python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
timeout-minutes: 60
env:
BOOST_ROOT: ${{github.workspace}}/3rdparty/boost
BOOST_URL: https://pilotfiber.dl.sourceforge.net/project/boost/boost/1.75.0/boost_1_75_0.7z
Expand Down Expand Up @@ -449,6 +459,7 @@ jobs:
linux-intel-oneapi:
name: intel-oneAPI on Ubuntu, Python 3.8
runs-on: ubuntu-latest
timeout-minutes: 60
env:
INTEL_REPO: https://apt.repos.intel.com
INTEL_KEY: GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
Expand Down Expand Up @@ -493,6 +504,7 @@ jobs:
linux-intel-oneapi-classic:
name: intel-oneAPI classic on Ubuntu, Python 3.8
runs-on: ubuntu-latest
timeout-minutes: 60
env:
INTEL_REPO: https://apt.repos.intel.com
INTEL_KEY: GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
Expand Down Expand Up @@ -537,6 +549,7 @@ jobs:
windows-mingw:
name: mingw on Windows, Python 3.8
runs-on: windows-2019
timeout-minutes: 60
env:
BOOST_ROOT: ${{github.workspace}}/3rdparty/boost
BOOST_URL: https://pilotfiber.dl.sourceforge.net/project/boost/boost/1.75.0/boost_1_75_0.7z
Expand Down

0 comments on commit 041559d

Please sign in to comment.