From ac43330b5bb8751497be639f60aa2680b794581f Mon Sep 17 00:00:00 2001 From: ehsanmok <6980212+ehsanmok@users.noreply.github.com> Date: Sat, 15 Feb 2025 17:26:48 -0800 Subject: [PATCH] Run magic in CI with path --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4f6264d..ffd04bc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,7 +50,9 @@ jobs: - name: Run Metadata Validation shell: bash - run: magic run lint + run: | + source /root/.bashrc + /root/.modular/bin/magic run lint - name: Get changed directories id: changed-dirs @@ -66,4 +68,6 @@ jobs: - name: Run Tests if: steps.changed-dirs.outputs.dirs != '' shell: bash - run: magic run test ${{ steps.changed-dirs.outputs.dirs }} + run: | + source /root/.bashrc + /root/.modular/bin/magic run test ${{ steps.changed-dirs.outputs.dirs }}