Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
mryzhov committed Oct 26, 2023
1 parent c482e5f commit 8a3f922
Showing 1 changed file with 25 additions and 17 deletions.
42 changes: 25 additions & 17 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ jobs:
defaults:
run:
shell: bash
runs-on: aks-linux-4-cores-16gb
runs-on: aks-linux-2-cores
container:
image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
volumes:
Expand Down Expand Up @@ -1176,16 +1176,20 @@ jobs:
TensorFlow_Hub_Models_Tests:
name: TensorFlow Hub Models tests
needs: Build

strategy:
matrix:
runner: [aks-linux-4-cores-16gb]
test_type: [precommit, nightly]

defaults:
run:
shell: bash
runs-on: ${{ github.event_name == 'schedule' && 'ubuntu-20.04-16-cores' || 'ubuntu-20.04-8-cores'}}
timeout-minutes: ${{ github.event_name == 'schedule' && 300 || 5 }}
# TODO: Switch back to self-hosted runners
# container:
# image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
# volumes:
# - /mount/caches:/mount/caches
runs-on: ${{ matrix.runner }}
container:
image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
volumes:
- /mount/caches:/mount/caches
env:
INSTALL_DIR: ${{ github.workspace }}/install
INSTALL_TEST_DIR: ${{ github.workspace }}/install/tests
Expand Down Expand Up @@ -1242,7 +1246,7 @@ jobs:
export PYTHONPATH=${MODEL_HUB_TESTS_INSTALL_DIR}:$PYTHONPATH
python3 -m pytest ${MODEL_HUB_TESTS_INSTALL_DIR}/tf_hub_tests/ -m ${TYPE} --html=${INSTALL_TEST_DIR}/TEST-tf_hub_tf_fe.html --self-contained-html -v
env:
TYPE: ${{ github.event_name == 'schedule' && 'nightly' || 'precommit'}}
TYPE: ${{ matrix.test_type }}
TEST_DEVICE: CPU

- name: Upload Test Results
Expand All @@ -1257,16 +1261,20 @@ jobs:
PyTorch_Models_Tests:
name: PyTorch Models tests
needs: Build
timeout-minutes: ${{ github.event_name == 'schedule' && 300 || 30 }}

strategy:
matrix:
runner: [aks-linux-4-cores-16gb]
test_type: [precommit, nightly]

defaults:
run:
shell: bash
runs-on: ${{ github.event_name == 'schedule' && 'ubuntu-20.04-16-cores' || 'ubuntu-20.04-8-cores'}}
# TODO: Switch back to self-hosted runners
# container:
# image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
# volumes:
# - /mount/caches:/mount/caches
runs-on: ${{ matrix.runner }}
container:
image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
volumes:
- /mount/caches:/mount/caches
env:
INSTALL_DIR: ${{ github.workspace }}/install
INSTALL_TEST_DIR: ${{ github.workspace }}/install/tests
Expand Down Expand Up @@ -1331,7 +1339,7 @@ jobs:
export PYTHONPATH=${MODEL_HUB_TESTS_INSTALL_DIR}:$PYTHONPATH
python3 -m pytest ${MODEL_HUB_TESTS_INSTALL_DIR}/torch_tests -m ${TYPE} --html=${INSTALL_TEST_DIR}/TEST-torch_model_tests.html --self-contained-html -v
env:
TYPE: ${{ github.event_name == 'schedule' && 'nightly' || 'precommit'}}
TYPE: ${{ matrix.test_type }}
TEST_DEVICE: CPU

- name: Available storage after tests
Expand Down

0 comments on commit 8a3f922

Please sign in to comment.