diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 787b6c6c69..2094d79c4e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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' ] @@ -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 @@ -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' ] @@ -128,6 +131,7 @@ jobs: coverage: name: Coverage runs-on: ubuntu-latest + timeout-minutes: 90 steps: - uses: actions/checkout@v2 name: Checkout the repository @@ -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: @@ -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'] @@ -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} @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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