Skip to content

Commit cbcd2d0

Browse files
authored
Merge branch 'ARM-Development:main' into yaml_config
2 parents d7d1fa8 + dd4ee74 commit cbcd2d0

2 files changed

Lines changed: 64 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- main
8+
pull_request:
9+
branches:
10+
- master
11+
- main
12+
13+
jobs:
14+
unit-tests:
15+
name: pytest (Python ${{ matrix.python-version }})
16+
runs-on: ubuntu-latest
17+
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
python-version: ["3.10", "3.11", "3.12", "3.13"]
22+
23+
defaults:
24+
run:
25+
shell: bash -el {0}
26+
27+
steps:
28+
- name: Checkout
29+
uses: actions/checkout@v4
30+
31+
- name: Set up micromamba
32+
uses: mamba-org/setup-micromamba@v1
33+
with:
34+
environment-file: continuous_integration/environment-ci.yml
35+
environment-name: cmac_test_env
36+
create-args: >-
37+
python=${{ matrix.python-version }}
38+
cache-environment: true
39+
40+
- name: Install cmac
41+
run: pip install --no-deps -e .
42+
43+
- name: Run unit tests
44+
run: pytest -v cmac/tests/
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: cmac_test_env
2+
channels:
3+
- conda-forge
4+
- defaults
5+
dependencies:
6+
- arm_pyart
7+
- cartopy
8+
- cmweather
9+
- coincbc
10+
- cython
11+
- dask
12+
- distributed
13+
- matplotlib
14+
- numpy
15+
- pytest
16+
- scikit-fuzzy
17+
- wradlib
18+
- pip
19+
- pip:
20+
- git+https://github.com/CSU-Radarmet/CSU_RadarTools.git

0 commit comments

Comments
 (0)