Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

add `fail-fast:false` as default on tests workflow (#2146)

João Gustavo A. Amorima5f823736fb5
diff --git a/.github/actions_info.md b/.github/actions_info.md
index a487484f9..aa0166f79 100644
--- a/.github/actions_info.md
+++ b/.github/actions_info.md
@@ -41,5 +41,7 @@ Has the inputs:
the tests with pytest.
- `continue-on-error`: (boolean, default: `false`) to set the
`continue-on-error` behavior on the test step.
+- `fail-fast`: (boolean, default: `false`) to set the `fail-fast` behavior on
+ the matrix strategy.
A matrix strategy will be adopted from the list of python and pytorch version.
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index dfa3e4991..ba2d74d94 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -21,12 +21,17 @@ on:
required: false
type: boolean
default: false
+ fail-fast:
+ required: false
+ type: boolean
+ default: false
jobs:
tests:
name: python-${{ matrix.python-version }}, torch-${{ matrix.pytorch-version }}
runs-on: ${{ inputs.os }}
strategy:
+ fail-fast: ${{ inputs.fail-fast }}
matrix:
python-version: ${{ fromJSON(inputs.python-version) }}
pytorch-version: ${{ fromJSON(inputs.pytorch-version) }}