Skip to content

Update python-package-conda.yml #385

Update python-package-conda.yml

Update python-package-conda.yml #385

name: Python Package using Conda
on: [push]
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
max-parallel: 5
steps:
- uses: actions/checkout@v4
- name: Install Miniconda
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
miniforge-variant: Mambaforge # Faster solver
- name: Install dependencies
run: |
conda install -n testenv numpy=1.26 pytest pip
conda run -n testenv pip install -e .
- name: Run tests
run: |
conda run -n testenv pytest