Skip to content

Commit

Permalink
Use base environment after setting up conda
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwinvis committed Oct 14, 2021
1 parent cf1c5a7 commit 7d12ed7
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,18 +65,12 @@ jobs:
os: ["ubuntu", "macos", "windows"]
include:
- os: ubuntu
condarc-file: .github/condarc.yml
environment-file: environment.yml
python-version: "3.7[build=*pypy]"
miniforge-variant: Mambaforge-pypy3
- os: macos
condarc-file: .github/condarc.yml
environment-file: environment.yml
python-version: "3.7"
miniforge-variant: Mambaforge
- os: windows
condarc-file: .github/condarc.yml
environment-file: environment.yml
python-version: "3.7"
miniforge-variant: Mambaforge
steps:
Expand All @@ -94,9 +88,10 @@ jobs:

- uses: conda-incubator/setup-miniconda@v2
with:
condarc-file: ${{ matrix.condarc-file }}
environment-file: ${{ matrix.environment-file }}
miniforge-variant: ${{ matrix.miniforge-variant }}
condarc-file: .github/condarc.yml
environment-file: environment.yml
auto-activate-base: true
use-mamba: true

- name: Verify Python environment
Expand Down

0 comments on commit 7d12ed7

Please sign in to comment.