update build action to use conda
@@ -11,19 +11,24 @@ jobs:
max-parallel: 20
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
- python-version: [3.6, 3.7, 3.8, 3.9]
+ python-version: [3.6, 3.7, 3.8, 3.9, 3.10]
cython: [true, false]
steps:
- - uses: actions/checkout@v2.3.4
- - name: Set up Python ${{ matrix.python-version }}
- uses: actions/setup-python@v2.2.2
+ - uses: conda-incubator/setup-miniconda@v2
with:
+ auto-update-conda: true
+ channels: conda-force
python-version: ${{ matrix.python-version }}
+ - name: Conda info
+ run: conda info
+ - name: Conda list
+ run: conda list
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flit
+ conda install numpy scipy cython numdifftools pplpy
- name: Install package w/ cython
if: matrix.cython
env:
