Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GHA] trigger for scheduled jobs #3169

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/api_changes_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
with:
ref: "refs/pull/${{ github.event.number }}/merge"
compare-api-doc-with-develop:
timeout-minutes: 30
needs: call-build-api-doc
runs-on: ubuntu-20.04
permissions:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build_html_doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
type: string
jobs:
build-html:
timeout-minutes: 10
runs-on: ubuntu-20.04
steps:
- name: Checkout
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: Test examples
permissions: read-all

on:
schedule:
- cron: '0 0 * * *'
workflow_call:
workflow_dispatch:
inputs:
pull_request_number:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@ name: Test install
permissions: read-all

on:
workflow_call:
workflow_dispatch:
inputs:
pull_request_number:
description: 'The pull request number'
default: ''
schedule:
- cron: '0 0 * * *'

jobs:
install-cpu:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ name: MacOS
permissions: read-all

on:
workflow_call:
workflow_dispatch:
inputs:
pull_request_number:
description: 'The pull request number'
default: ''
schedule:
- cron: '0 0 * * 0'

jobs:
precommit-common:
runs-on: macos-14
timeout-minutes: 40
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
Expand All @@ -38,6 +38,7 @@ jobs:

precommit-openvino:
runs-on: macos-14
timeout-minutes: 40
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
Expand Down
15 changes: 12 additions & 3 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,25 @@ on:
- cron: '0 0 * * *'

jobs:
install:
if: github.repository_owner == 'openvinotoolkit'
uses: ./.github/workflows/install.yml

examples:
if: github.repository_owner == 'openvinotoolkit'
uses: ./.github/workflows/examples.yml

md-dead-link-check:
runs-on: ubuntu-22.04
if: github.repository_owner == 'openvinotoolkit'
timeout-minutes: 10
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: AlexanderDokuchaev/md-dead-link-check@cc3ed55268899a1a6d5fd7068abbc4591eab1f74 # v0.9

tensorflow:
runs-on: ubuntu-20.04-8-cores
if: github.repository_owner == 'openvinotoolkit'
timeout-minutes: 60
defaults:
run:
Expand All @@ -30,9 +41,7 @@ jobs:
python-version: 3.10.14
cache: pip
- name: Install NNCF and test requirements
run: |
pip install -e .
pip install -r tests/tensorflow/requirements.txt
run: pip install -e . -r tests/tensorflow/requirements.txt
- name: Print installed modules
run: pip list
- name: Run TensorFlow precommit
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

jobs:
precommit:
if: github.repository_owner == 'openvinotoolkit'
strategy:
fail-fast: false
matrix:
Expand All @@ -16,3 +17,7 @@ jobs:
with:
python_version: ${{ matrix.python_version }}
gpu_enabled: false

macos:
if: github.repository_owner == 'openvinotoolkit'
uses: ./.github/workflows/macos.yml