Skip to content

Commit

Permalink
Run magic in CI with path
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsanmok committed Feb 16, 2025
1 parent 56f1ed6 commit ac43330
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}

0 comments on commit ac43330

Please sign in to comment.