Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading