Skip to content

Commit

Permalink
Fix CI workflow to source the correct bashrc path for Conda activation
Browse files Browse the repository at this point in the history
  • Loading branch information
msbc committed Nov 29, 2024
1 parent 254bb4f commit cd748ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: |
conda create -n test-env python=${{ matrix.python-version }} -y
conda init
source /root/.bashrc
source /home/runner/.bashrc
conda activate test-env
pip install tox tox-conda
Expand All @@ -47,6 +47,6 @@ jobs:
- name: Run Tox
run: |
conda init
source /root/.bashrc
source /home/runner/.bashrc
conda activate test-env
tox -e py$(echo ${{ matrix.python-version }} | tr -d . | cut -c 1-3)

0 comments on commit cd748ac

Please sign in to comment.