Skip to content

Commit

Permalink
CI: Install numba=0.61.0rc1, Test with Python 3.13 (#746)
Browse files Browse the repository at this point in the history
Use conda-incubator/setup-miniconda
  • Loading branch information
oyamad authored Nov 27, 2024
1 parent 259f047 commit 9b6cc51
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/ci_np2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,18 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
- uses: conda-incubator/setup-miniconda@v3
with:
python-version: '3.12'
- 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 -c conda-forge libmamba
conda env update --file environment_np2.yml --name base
auto-update-conda: true
environment-file: environment_np2.yml
python-version: '3.13'
- name: Conda info
shell: bash -l {0}
run: |
conda info
conda list
- name: Test with pytest
shell: bash -l {0}
run: |
conda install pytest
pytest
3 changes: 2 additions & 1 deletion environment_np2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ name: qe
channels:
- conda-forge
- defaults
- numba
dependencies:
- coverage
- numpy>=2
- scipy
- pandas
- numba
- numba=0.61.0rc1
- sympy
- ipython
- flake8
Expand Down

0 comments on commit 9b6cc51

Please sign in to comment.