Skip to content

Commit

Permalink
Update workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisVieriu97 committed Dec 6, 2023
1 parent bec1991 commit 26bab88
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/pull_mps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
id: gather-models-mps
run: |
set -eux
if conda info --envs | grep -q conda-env-${{ runner.os }}; then echo "base already exists"; else conda create -y -n conda-env-${{ runner.os }}; fi
conda activate conda-env-${{ runner.os }}
source .ci/scripts/utils.sh
# This is a simple Python script but as it tries to import executorch.examples.models,
# it requires a whole bunch of ExecuTorch dependencies on the Docker image
Expand All @@ -49,6 +51,10 @@ jobs:
- name: Run test ${{ matrix.test }}
if: always()
run: |
set -eux
if conda info --envs | grep -q conda-env-${{ runner.os }}; then echo "base already exists"; else conda create -y -n conda-env-${{ runner.os }}; fi
conda activate conda-env-${{ runner.os }}
WORKSPACE=$(pwd)
pushd "${WORKSPACE}"
MODEL_NAME=${{ matrix.model }}
Expand All @@ -73,6 +79,10 @@ jobs:
- name: Run test ${{ matrix.test }}
if: always()
run: |
set -eux
if conda info --envs | grep -q conda-env-${{ runner.os }}; then echo "base already exists"; else conda create -y -n conda-env-${{ runner.os }}; fi
conda activate conda-env-${{ runner.os }}
WORKSPACE=$(pwd)
pushd "${WORKSPACE}"
MODEL_NAME=${{ matrix.model }}
Expand Down

0 comments on commit 26bab88

Please sign in to comment.