Commit Graph

17 Commits

Author SHA1 Message Date
Andrei Kashchikhin 52d0a44d3f
[CI] [GHA] Set actions references to specific commit hash; provide explicit top level token permissions for jobs (#24839)
### Details:
- Token permissions docs:
98ec491a88/docs/checks.md (token-permissions)
- Actions by hash docs:
98ec491a88/docs/checks.md (pinned-dependencies)

### Tickets:
 - *142943*
 - *142944*
2024-06-04 18:17:51 +00:00
Andrei Kashchikhin 10177bfb89
[CI] [GHA] Introduce Dockerfiles for test jobs (#24742)
### Tickets:
 - *141574*
2024-05-30 09:46:12 +00:00
Andrei Kashchikhin f028ecf0f7
[CI] [GHA] Investigate and mitigate Mac workflows (#24631)
### Tickets:
 - *142049*
2024-05-23 19:58:53 +00:00
Xuejun Zhai 2d8ac08bf1
Move HETERO/BATCH tests to HETERO/BATCH test binaries (#23823)
### Details:
 - Move remaining BATCH/HETERO test cases out of CPU/GPU tests

### Tickets:
 - *CVS-133977*

---------

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>
Co-authored-by: Pawel Raasz <pawel.raasz@intel.com>
Co-authored-by: Chen Peter <peter.chen@intel.com>
2024-04-25 02:33:06 +00:00
Irina Efode aebf81419b
[ IE TESTS ] Update tensor comparation function according plugin requirments (#23226)
### Details:
- *Comparation function was changed to compare tensors based on element
comparation*
- *`std::abs(ref_value - plugin_value) <= abs_threshold + rel_threshold
* ref_value`*
- *`abs_threshold ` =
std::max(std::numeric_limits::eps<plugin_element_type>(),
std::numeric_limits::eps<ref_element_type>())*
- *`ref_threshold = eps_by_expected_type()`, which is based on half `bit
length of mantissa`*

### Tickets:
 - [CVS-133173](https://jira.devtools.intel.com/browse/CVS-133173)
 - [CVS-135540](https://jira.devtools.intel.com/browse/CVS-135540)

---------

Co-authored-by: sbalandi <sofya.balandina@intel.com>
2024-03-23 18:08:25 +00:00
Andrei Kashchikhin 7ceff6a580
[CI] [GHA] Transition to the v4 for `actions/upload` and `actions/download`-`artifact` (#23142)
### Details:
- Should improve uploading and downloading stability of larger artefacts
(e.g., test packages), and [improve
speed](https://github.blog/changelog/2023-12-14-github-actions-artifacts-v4-is-now-generally-available/).

### Tickets:
 - *133744*
2024-02-28 17:22:05 +00:00
Andrei Kashchikhin 6145490ad4
[CI] [GHA] Investigate and resolve macOS workflows issues (#22840)
### Details:
 - The macOS x64 and arm workflows are broken.
- One of the issues is that `apt` retries are set unconditionally in
various reusable workflows when `apt` is only available on Linux.
- There was no `Smart_CI` job requirement for the `Samples` job in the
ARM mac workflow leading to it being broken.
- Several tests started failing, they are skipped in this PR with an
appropriate ticket.

### Tickets:
 - *132596*

---------

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2024-02-21 17:49:53 +00:00
Alina Kladieva 99a7d2e810
[GHA] CPU tests to merge queue validation (#22633)
CPU tests seem to be stable now
2024-02-02 20:05:21 +00:00
Andrei Kashchikhin dab68a88bb
[CI] [GHA] Add retries for APT, update deadsnakes action (#22515)
* update setup_python version, add retries for apt in Linux workflows

* account for sudo

* use sudo via sh
2024-01-30 14:03:40 +00:00
Alina Kladieva e8f8e4633b
Skip unstable stages for merge queue events (#22363)
* Skip Windows CC for merge queue events

* Skip Linux CC for merge queue events

* Skip Windows for merge queue events

* Skip Linux RiscV for merge queue events

* Skip ONNX models tests for merge queue events

* Skip CPU func tests for merge queue events

* Skip CXX unit tests for merge queue events
2024-01-24 14:44:26 +01:00
Andrei Kashchikhin f0f1e7a31f
[CI] [GHA] Introduce JS API as a part of the existing workflows (#21898)
* add js api to linux

* try inside the ov repo

* use rel path

* use a separate job for js api

* correct command formatting

* add missing var

* use spacing

* mv js building

* add node installing

* add to windows

* check pwsh and cmd running npm

* add smart CI conditions; disable for win

* use node version as env var

* extract js job into a separate workflow, add to other *nix

* fix input name

* Activate js bindings tests for arm64

* upload ov js package

* correct formatting

* add missing syntax

---------

Co-authored-by: Vishniakov Nikolai <nikolai.vishniakov@intel.com>
2024-01-08 16:52:58 +04:00
River Li d3398d2034
[CAPI] remove legacy CAPI source code and document (#21916)
* [CAPI] remove legacy CAPI source code and documentation

* Solve install header file missing issue
2024-01-05 16:20:37 +04:00
Ilya Lavrenov c79ae17bbf
Removed GNA plugin from 2024.0 (#21800) 2023-12-21 13:39:06 +01:00
Ilya Lavrenov 662aa57a92
Downgrade GHA for upload / download back to @v3 (#21770) 2023-12-20 00:48:31 +04:00
Ilya Lavrenov ccc79fb691
Updated versions for upload / download artifacts actions (#21691) 2023-12-15 20:43:22 +04:00
Ilya Lavrenov 7a09894bdc
Added smart CI condition for PDPD tests (#21692) 2023-12-15 15:15:34 +04:00
Andrey Kashchikhin dfc91186a1
[CI] [GHA] Extract test jobs into reusable workflows (#21395)
* extract cpu func tests into a reusable workflow

* add needs

* check paths

* correct paths

* rm usage of setupvars

* extract samples

* use yaml string

* split mac workflow

* check variables

* try github workspace

* check full dir

* set variables

* try with sub directory

* Revert "try with sub directory"

This reverts commit d891ee3f28.

* extract c++ tests from linux

* change

* use cxx workflow in mac workflows

* add noninteractive

* extract cpu func tests

* rm unused

* enable mac

* fix reusable workflow name

* correct path for sparse-checkout

* extract python UT

* remove unnecessary asterisk

* remove another unnecessary asterisk

* use reusable action for linux cc

* add check for setupvars existence

* check with manually installed opencl

* add components input to samples workflow; rm pr triggers for mac workflows

* add missing needs

* add missing option for deps install  script

* use disables in test themselves instead of ifs in workflows

* use reusable workflow for cxx tests in linux arm

* use python reusable workflow in linux arm

* add missing endif

* use self-hosted for samples, add x86_64 constraint for jax

* check paths

* find gompby partial name

* skip failing tests on arm; correct gomp finding for ovc

* check tests

* add debian packages job; use job_ prefix for reusable workflows with jobs

* extract tf hub model tests

* extract tf model hub perf tests

* extract pytorch models tests

* do not use container on GHA runners

* extract onnx runtime

* add missing deps

* skip test for linux arm

* rm always()s

* fix quotes

* correct paths

* correct ifs, check dir for onnxruntime

* correct path for onnxruntime utils folder; install python3

* use self-hosted as input

* check for self-hosted runner via name, pass version

* skip cpu plugin unittest

* check cxx tests

* rm pr trigger
2023-12-07 23:44:45 +04:00