forked from xraypy/xraylarch
-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (33 loc) · 1.08 KB
/
test-windows-mamba.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Test with Windows, Mamba
on: [push]
jobs:
build:
runs-on: windows-latest
strategy:
max-parallel: 5
fail-fast: false
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python from Miniconda
uses: conda-incubator/[email protected]
with:
miniconda-version: latest
mamba-version: "*"
channels: conda-forge,defaults
channel-priority: true
activate-environment: anaconda-client-env
python-version: ${{ matrix.python-version }}
- name: Install conda dependencies
run: |
printenv
mamba install -y -c conda-forge python=${{ matrix.python-version }} "numpy>=1.23" "scipy>=1.8" "matplotlib>=3.6" "h5py>=3.5" "wxpython>=4.2" scikit-image scikit-learn pycifrw pandas jupyter plotly pyparsing pytest pytest-cov coverage
- name: Install xraylarch and other dependencies with pip
run: |
printenv
pip install ".[all]"
- name: Run test suite
run: |
cd tests
python -m pytest