Skip to content

Commit 527efa2

Browse files
committed
Try if statement.
Signed-off-by: Jay Zhang <[email protected]>
1 parent 01fcd9b commit 527efa2

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/unit_tests_core.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,21 @@ on:
99
- main
1010
workflow_dispatch:
1111

12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}
14+
cancel-in-progress: true
15+
1216
jobs:
1317
run_tests:
1418
strategy:
19+
fail-fast: false
1520
matrix:
16-
tf_version: ['2.9.0', '2.13.0']
21+
tf_version: ['2.9.0', '2.15.0']
1722
python_version: ['3.8', '3.9']
1823
opset_version: ['18', '15']
1924
ort_version: ['1.16.3']
2025
os: ['ubuntu-latest', 'windows-2022']
21-
26+
if: ${{ matrix.tf_version == '2.9.0' && matrix.python_version == '3.8' }}
2227
runs-on: ${{ matrix.os }}
2328

2429
steps:
@@ -74,6 +79,7 @@ jobs:
7479
path: ./**/test-results-*.xml
7580

7681
publish-test-results:
82+
fail-fast: false
7783
name: "Publish Tests Results to Github"
7884
needs: run_tests
7985
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)