-
Notifications
You must be signed in to change notification settings - Fork 26
47 lines (44 loc) · 1.21 KB
/
test_wxmplot_install.yml
File metadata and controls
47 lines (44 loc) · 1.21 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
name: Test Installing wxmplot, using conda
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
fail-fast: false
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y xvfb
- name: Set up Python from Miniconda/conda
uses: conda-incubator/setup-miniconda@v2.2.0
with:
miniconda-version: latest
channels: conda-forge,defaults
channel-priority: true
activate-environment: anaconda-client-env
python-version: ${{ matrix.python-version }}
- name: Install conda dependencies
run: |
conda install -y -c conda-forge python=${{ matrix.python-version }} "numpy>=1.23" "matplotlib>=3.8" "wxpython>=4.2" pip pytest
conda info -a
conda list
- name: Install wxmplot with pip
run: |
python -m pip install --upgrade pip
pip install .
- name: Test with pytest
run: |
cd tests
pytest