Skip to content

Commit f733532

Browse files
author
Matthias Koeppe
committed
Use prepackaged github action to manage conda env
1 parent 79cc450 commit f733532

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,13 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v1
10-
- name: Install sage from conda
11-
run: |
12-
conda env create -n sage environment.yml
13-
conda activate sage
10+
- uses: goanpeca/setup-miniconda@v1
11+
with:
12+
auto-update-conda: true
13+
activate-environment: sage
14+
environment-file: environment.yml
15+
python-version: 3.7
16+
auto-activate-base: false
1417
- name: Test package
1518
run: |
1619
python3 setup.py test

0 commit comments

Comments
 (0)