From 573c7beb2b0a10cc30d28dd0a5e131041720a8b4 Mon Sep 17 00:00:00 2001 From: Olga Bulat Date: Thu, 26 Sep 2024 11:49:52 +0300 Subject: [PATCH 1/2] Fix MacOS node location and add a smoke test --- .github/workflows/ci_cd.yml | 18 ++++++++++++++++++ docker/dev_env/Dockerfile | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 334759ce112..7a967b0bc4a 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -213,6 +213,24 @@ jobs: run: | echo '${{ matrix.image }} artifact ID is ${{ steps.upload-img.outputs.artifact-id }}' + ###### + # ov # + ###### + test-ov: + name: Run OV tests + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest] + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Initialize ov + run: | + echo "Initializing ov on ${{ matrix.os }}" + ./ov init + ########### # Catalog # ########### diff --git a/docker/dev_env/Dockerfile b/docker/dev_env/Dockerfile index d59e6ce3baf..586524a1b00 100644 --- a/docker/dev_env/Dockerfile +++ b/docker/dev_env/Dockerfile @@ -15,7 +15,7 @@ ENV HOME="/opt" # location where PDM installs Python interpreters ENV PDM_PYTHONS="${HOME}/pdm/bin" # location where `n` installs Node.js versions -ENV N_PREFIX="${HOME}/n" +ENV N_PREFIX="${HOME}" ENV PIPX_GLOBAL_HOME=/pipx From 8ca0a87307c4d76f6fbb3d4b1be26204620117b5 Mon Sep 17 00:00:00 2001 From: Olga Bulat Date: Thu, 26 Sep 2024 11:56:00 +0300 Subject: [PATCH 2/2] Add docker --- .github/workflows/ci_cd.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 7a967b0bc4a..b568909a5f1 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -229,6 +229,9 @@ jobs: - name: Initialize ov run: | echo "Initializing ov on ${{ matrix.os }}" + export PATH="$PATH:/Applications/Docker.app/Contents/Resources/bin/" + docker --version + ./ov build ./ov init ###########