Skip to content

Commit

Permalink
Update daily-component-tests-and-migrations.yaml
Browse files Browse the repository at this point in the history
Add node installation and interactive_dir variable
  • Loading branch information
metehaansever authored Nov 5, 2024
1 parent 3ad0e21 commit ebe2fe4
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/daily-component-tests-and-migrations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,20 @@ jobs:
shell: bash -l {0}
run: |
pip install .
- name: "Set Anvi'o interactive directory path"
shell: bash -l {0}
run: |
interactive_dir=$(python -c "import site; print(site.getsitepackages()[0] + '/anvio/data/interactive')")
echo "interactive_dir_path=$interactive_dir" >> $GITHUB_ENV
- uses: actions/setup-node@v4
with:
node-version: 18
- name: "Install npm dependencies for Anvi'o interactive interfaces"
shell: bash -l {0}
run: |
cd /home/runner/miniconda3/envs/anvio_env/lib/python3.10/site-packages/anvio/data/interactive
cd ${{ env.interactive_dir_path }}
npm install
cd -
cd -
- name: "Run component tests"
shell: bash -l {0}
run: |
Expand Down

0 comments on commit ebe2fe4

Please sign in to comment.