Skip to content

Commit

Permalink
Setup dependencies with the environment-file option on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
dalthviz committed Jan 3, 2025
1 parent c2f51e4 commit 66d6ff9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/windows-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
steps:
- name: Checkout branch
uses: actions/checkout@v3
- name: Install Conda
- name: Install Conda and install package dependencies
uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: test
Expand All @@ -40,9 +40,7 @@ jobs:
channels: conda-forge
channel-priority: true
python-version: ${{ matrix.PYTHON_VERSION }}
- name: Install package dependencies
shell: bash -el {0}
run: mamba env update --file requirements/environment.yml
environment-file: requirements/environment.yml # Need to set up dependencies in the same step due to https://github.com/conda-incubator/setup-miniconda/issues/371
- name: Show environment information
shell: bash -el {0}
run: |
Expand Down

0 comments on commit 66d6ff9

Please sign in to comment.