Skip to content

Commit

Permalink
CI: Use conda-incubator/setup-miniconda
Browse files Browse the repository at this point in the history
  • Loading branch information
oyamad committed Nov 27, 2024
1 parent 37fdee0 commit 3912d04
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/ci_np2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,11 @@ jobs:
max-parallel: 5

steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
environment-file: environment_np2.yml
python-version: '3.13'
allow-prereleases: true
- name: Add conda to system path
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
echo $CONDA/bin >> $GITHUB_PATH
- name: Install dependencies
run: |
conda install conda-forge::libmamba conda-forge::libarchive
conda install -c numba numba=0.61.0rc1
conda env update --file environment_np2.yml --name base
- name: Conda info
shell: bash -l {0}
run: |
Expand Down
2 changes: 1 addition & 1 deletion environment_np2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies:
- numpy>=2
- scipy
- pandas
# - numba
- numba=0.61.0rc1
- sympy
- ipython
- flake8
Expand Down

0 comments on commit 3912d04

Please sign in to comment.