Skip to content

Commit 95293eb

Browse files
committed
ci testing
1 parent 3245292 commit 95293eb

2 files changed

Lines changed: 10 additions & 34 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
uses: psf/black@stable
2121
with:
2222
options: "--check --verbose --diff"
23-
23+
2424

2525
test:
2626
needs: formatting
@@ -34,39 +34,16 @@ jobs:
3434

3535
steps:
3636
- uses: actions/checkout@v6
37-
- run: pwd
38-
- run: ls -R
3937
- name: Setup conda environment
4038
uses: conda-incubator/setup-miniconda@v4
4139
with:
42-
# miniconda-version: "latest"
4340
python-version: ${{ matrix.python-version }}
4441
activate-environment: om3-scripts-test
4542
environment-file: test/test_env.yaml
46-
# auto-activate: false
47-
# - name: Set up Python ${{ matrix.python-version }}
48-
# uses: actions/setup-python@v3
49-
# with:
50-
# python-version: ${{ matrix.python-version }}
51-
# - name: Install sys dependencies
52-
# run: |
53-
# sudo apt-get update
54-
# sudo apt-get -y install nco
55-
# sudo apt-get -y install ncal
56-
# - name: Install python dependencies
57-
# run: |
58-
# python -m pip install --upgrade pip
59-
# pip install -r test/test_requirements.txt
6043
- name: List installed packages
6144
run: |
6245
conda env list
6346
conda list
64-
- run: which python
65-
- run: which python3
6647
- name: Test with pytest
6748
run: |
6849
python -m pytest -m "not broken" -v -s
69-
# - name: Upload coverage reports to Codecov with GitHub Action
70-
# uses: codecov/codecov-action@v3
71-
# env:
72-
# CODEOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

test/test_env.yaml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,16 @@ channels:
55
- defaults
66
dependencies:
77
- esmpy
8-
# - nco
98
- pip
109
- pytest
10+
- numpy<2
11+
- xarray
12+
- pandas
13+
- netCDF4<1.7
14+
- dask
15+
- access-nri-intake
16+
- setuptools
17+
- ruamel.yaml
18+
- scikit-learn
1119
- pip:
1220
- ocean_model_grid_generator@git+https://github.com/ACCESS-NRI/ocean_model_grid_generator@d17ee7af8d5690153dc54d9c55077de5e21b2211
13-
- numpy<2
14-
- xarray
15-
- pandas
16-
- netCDF4<1.7
17-
- dask
18-
- access-nri-intake
19-
- setuptools
20-
- ruamel.yaml
21-
- scikit-learn

0 commit comments

Comments
 (0)