File tree Expand file tree Collapse file tree 2 files changed +19
-3
lines changed Expand file tree Collapse file tree 2 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 1+ name : Unittests [Optional]
2+
3+ on :
4+ workflow_dispatch :
5+ workflow_run :
6+ workflows : [Unittests]
7+ types : [requested]
8+
9+ # Cancel in-progress runs for the current workflow if not on the main branch
10+ # (as it marks the unittests as failed).
11+ # Conditionals to concurrent are based on the solution proposed in this link:
12+ # https://github.community/t/concurrency-cancel-in-progress-but-not-when-ref-is-master/194707
13+ concurrency :
14+ group : ${{ github.workflow }}-${{ github.ref }}-${{ github.ref != 'refs/heads/master' || github.run_number }}
15+ # Cancel only PR intermediate builds.
16+ cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
Original file line number Diff line number Diff line change 2121 - cron : ' 0 2 * * *'
2222
2323# Cancel in-progress runs for the current workflow if not on the main branch
24- # (as it mark the unittests as failed).
24+ # (as it marks the unittests as failed).
2525# Conditionals to concurrent are based on the solution proposed in this link:
2626# https://github.community/t/concurrency-cancel-in-progress-but-not-when-ref-is-master/194707
2727concurrency :
2828 group : ${{ github.workflow }}-${{ github.ref }}-${{ github.ref != 'refs/heads/master' || github.run_number }}
29- # Cancel only PR intermediate builds
29+ # Cancel only PR intermediate builds.
3030 cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
3131
3232env :
7979 # Do not cancel in-progress jobs if any matrix job fails.
8080 fail-fast : false
8181 matrix :
82- tf-version : [' tensorflow' ]
82+ tf-version : [tensorflow]
8383 # Can't reference env variables in matrix
8484 num-shards : ${{ fromJson(needs.shards-job.outputs.num-shards) }}
8585 shard-id : ${{ fromJson(needs.shards-job.outputs.shard-ids) }}
You can’t perform that action at this time.
0 commit comments