-
Notifications
You must be signed in to change notification settings - Fork 5
48 lines (40 loc) · 990 Bytes
/
Copy pathpython-ubuntu.yml
File metadata and controls
48 lines (40 loc) · 990 Bytes
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
48
name: Install and Test Python Bindings
on:
push:
pull_request:
branches: [ "master" ]
jobs:
build-and-test:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -el {0}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Miniforge
uses: conda-incubator/setup-miniconda@v3
with:
miniforge-version: latest
activate-environment: mint-env
auto-activate-base: false
channels: conda-forge,defaults
channel-priority: strict
- name: Install dependencies
run: |
conda install -y \
cmake \
cython \
setuptools \
tbb-devel \
pip \
libnetcdf \
vtk \
numpy \
pytest \
netcdf4 \
iris
- name: Install mint Python bindings
run: pip install .
- name: Run tests
run: pytest