Skip to content

Commit

Permalink
Trigger openvino slow tests with openvino-test label (#751)
Browse files Browse the repository at this point in the history
* trigger openvino slow tests with openvino-test label

* add types

* trigger when release branch pushed
  • Loading branch information
echarlaix authored Jun 8, 2024
1 parent ca2b1fa commit 906668b
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/test_openvino_basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,18 @@ on:
schedule:
- cron: '41 1 * * *' # run every day at 1:41
push:
paths:
- 'tests/openvino/test_modeling_basic.py'
- '.github/workflows/test_openvino_basic.yml'
branches:
- v*-release
pull_request:
paths:
- 'tests/openvino/test_modeling_basic.py'
- '.github/workflows/test_openvino_basic.yml'
types: [opened, synchronize, reopened, labeled]

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
build:
if: ${{ (github.event_name == 'workflow_dispatch') || (github.event_name == 'schedule') || (github.event_name == 'push') || contains( github.event.pull_request.labels.*.name, 'openvino-test') }}
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit 906668b

Please sign in to comment.