Skip to content

Commit

Permalink
Replace root with HOME path in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsanmok committed Feb 16, 2025
1 parent 6f4b897 commit f565ec2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ jobs:

- name: Run Metadata Validation
shell: bash
env:
PATH: "/root/.modular/bin:$PATH"
run: magic run lint
run: |
source /root/.bashrc
$HOME/.modular/bin/magic run lint
- name: Get changed directories
id: changed-dirs
Expand All @@ -69,6 +69,6 @@ jobs:
- name: Run Tests
if: steps.changed-dirs.outputs.dirs != ''
shell: bash
env:
PATH: "/root/.modular/bin:$PATH"
run: magic run test ${{ steps.changed-dirs.outputs.dirs }}
run: |
source /root/.bashrc
$HOME/.modular/bin/magic run test ${{ steps.changed-dirs.outputs.dirs }}

0 comments on commit f565ec2

Please sign in to comment.