Revert "cache generation fix"

This reverts commit 0feab650fe.
This commit is contained in:
Mikhail Ryzhov 2023-09-20 14:39:13 +02:00
parent f2843f7e3d
commit e385b04410

View File

@ -696,13 +696,12 @@ jobs:
python3 -m pip install --upgrade pip
python3 -m pip install -r ${{ github.workspace }}\install\tests\functional_test_utils\requirements.txt
- name: Restore tests execution time
uses: actions/cache/restore@v3
- name: Cache Tests Execution Time
id: tests-functional-cpu-cache
uses: actions/cache@v3
with:
path: ${{ env.PARALLEL_TEST_CACHE }}
key: ${{ runner.os }}-tests-functional-cpu-stamp-${{ github.sha }}
restore-keys: |
${{ runner.os }}-tests-functional-cpu-stamp
key: ${{ runner.os }}-tests-functional-cpu-cache
- name: Intel CPU plugin func tests (parallel)
shell: cmd
@ -710,13 +709,6 @@ jobs:
call "${{ env.INSTALL_DIR }}\\setupvars.bat" && python3 ${{ env.PARALLEL_TEST_SCRIPT }} -e ${{ env.INSTALL_TEST_DIR }}\ov_cpu_func_tests.exe -c ${{ env.PARALLEL_TEST_CACHE }} -w ${{ env.INSTALL_TEST_DIR }} -s suite -- --gtest_filter=*smoke*"
timeout-minutes: 45
- name: Save tests execution time
uses: actions/cache/save@v3
if: github.ref_name == 'master'
with:
path: ${{ env.PARALLEL_TEST_CACHE }}
key: ${{ runner.os }}-tests-functional-cpu-stamp-${{ github.sha }}
- name: Upload Test Results
uses: actions/upload-artifact@v3
if: ${{ always() }}