From 5a2f7970c227de47ee03e7a3c759d237a92279c1 Mon Sep 17 00:00:00 2001 From: 0penBrain <48731257+0penBrain@users.noreply.github.com> Date: Wed, 15 Feb 2023 16:28:41 +0100 Subject: [PATCH] CI: add specific timeouts to test actions --- .github/workflows/sub_buildUbuntu2004.yml | 4 ++++ .github/workflows/sub_buildUbuntu2204.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/sub_buildUbuntu2004.yml b/.github/workflows/sub_buildUbuntu2004.yml index 3a28aeef03..b990a88a77 100644 --- a/.github/workflows/sub_buildUbuntu2004.yml +++ b/.github/workflows/sub_buildUbuntu2004.yml @@ -184,6 +184,7 @@ jobs: ccache -s - name: FreeCAD CLI tests on build dir if: inputs.testOnBuildDir + timeout-minutes: 10 uses: ./.github/workflows/actions/runTests with: testDescription: "CLI tests on build dir" @@ -192,6 +193,7 @@ jobs: reportFile: ${{env.reportdir}}${{ env.reportfilename }} - name: FreeCAD GUI tests on build dir if: inputs.testOnBuildDir + timeout-minutes: 15 uses: ./.github/workflows/actions/runTests with: testDescription: "GUI tests on build dir" @@ -206,6 +208,7 @@ jobs: errorFile: ${{ env.logdir }}InstallErrors.log reportFile: ${{env.reportdir}}${{ env.reportfilename }} - name: FreeCAD CLI tests on install + timeout-minutes: 10 uses: ./.github/workflows/actions/runTests with: testDescription: "CLI tests on install" @@ -213,6 +216,7 @@ jobs: logFile: ${{ env.logdir }}TestCLIInstall.log reportFile: ${{env.reportdir}}${{ env.reportfilename }} - name: FreeCAD GUI tests on install + timeout-minutes: 15 uses: ./.github/workflows/actions/runTests with: testDescription: "GUI tests on install" diff --git a/.github/workflows/sub_buildUbuntu2204.yml b/.github/workflows/sub_buildUbuntu2204.yml index 3d9cfd3d76..04297e2c6e 100644 --- a/.github/workflows/sub_buildUbuntu2204.yml +++ b/.github/workflows/sub_buildUbuntu2204.yml @@ -193,6 +193,7 @@ jobs: ccache -s - name: FreeCAD CLI tests on build dir if: inputs.testOnBuildDir + timeout-minutes: 10 uses: ./.github/workflows/actions/runTests with: testDescription: "CLI tests on build dir" @@ -201,6 +202,7 @@ jobs: reportFile: ${{env.reportdir}}${{ env.reportfilename }} - name: FreeCAD GUI tests on build dir if: inputs.testOnBuildDir + timeout-minutes: 15 uses: ./.github/workflows/actions/runTests with: testDescription: "GUI tests on build dir" @@ -215,6 +217,7 @@ jobs: errorFile: ${{ env.logdir }}InstallErrors.log reportFile: ${{env.reportdir}}${{ env.reportfilename }} - name: FreeCAD CLI tests on install + timeout-minutes: 10 uses: ./.github/workflows/actions/runTests with: testDescription: "CLI tests on install" @@ -222,6 +225,7 @@ jobs: logFile: ${{ env.logdir }}TestCLIInstall.log reportFile: ${{env.reportdir}}${{ env.reportfilename }} - name: FreeCAD GUI tests on install + timeout-minutes: 15 uses: ./.github/workflows/actions/runTests with: testDescription: "GUI tests on install"