Skip to content

Commit dfc445e

Browse files
authored
Update python-package-conda.yml
1 parent 001e1c9 commit dfc445e

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/python-package-conda.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@ jobs:
1313
- name: Set up Python 3.10
1414
uses: actions/setup-python@v3
1515
with:
16-
python-version: '3.10'
17-
- name: Add conda to system path
18-
run: |
19-
# $CONDA is an environment variable pointing to the root of the miniconda directory
20-
echo $CONDA/bin >> $GITHUB_PATH
16+
python-version: '3.11'
17+
- name: Set up Conda
18+
uses: conda-incubator/setup-miniconda@v2
19+
with:
20+
auto-update-conda: true
21+
python-version: '3.11'
22+
environment-name: test-env
2123
- name: Pre-install numpy
2224
run: conda install numpy=1.26.4 -y
2325
- name: Install current library and dependencies

0 commit comments

Comments
 (0)