Skip to content

Commit

Permalink
new workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
konstntokas committed Jul 11, 2024
1 parent 14fc51b commit 5002dcf
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/unittest-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,25 @@ jobs:
unittest:
runs-on: ubuntu-latest
steps:
- name: checkout xcube
uses: actions/checkout@v4
with:
repository: xcube-dev/xcube

- name: checkout xcube-stac
uses: actions/checkout@v4

- name: Set up MicroMamba
uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment.yml
environment-file: environment_workflow.yml

- name: Install xcube
shell: bash -l {0}
run: |
cd /home/runner/work/xcube/xcube
ls
pip install .
- name: Run unit tests
shell: bash -l {0}
Expand Down
54 changes: 54 additions & 0 deletions environment_workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: xcube-stac
channels:
- conda-forge
- defaults
dependencies:
# Python
- python >=3.9
# Required xcube
- affine >=2.2
- botocore >=1.34.51
- cftime >=1.6.3
- click >=8.0
- cmocean >=2.0
- dask >=2021.6
- dask-image >=0.6
- deprecated >=1.2
- distributed >=2021.6
- fiona >=1.8
- fsspec >=2021.6
- gdal >=3.0
- geopandas >=0.8
- jdcal >=1.4
- jsonschema >=3.2
- mashumaro
- matplotlib-base >=3.8.3
- netcdf4 >=1.5
- numba >=0.52
- numcodecs >=0.12.1
- numpy >=1.16
- pandas >=1.3
- pillow >=6.0
- pyjwt >=1.7
- pyproj >=3.0
- pyyaml >=5.4
- rasterio >=1.2
- requests >=2.25
- rfc3339-validator >=0.1 # for python-jsonschema date-time format validation
- rioxarray >=0.11
- s3fs >=2021.6
- setuptools >=41.0
- shapely >=1.6
- tornado >=6.0
- urllib3 >=1.26
- xarray >=2022.6
- zarr >=2.11
# Required xcube-stac
- pystac
- pystac-client
# for testing
- black
- flake8
- pytest
- pytest-cov
- pytest-recording

0 comments on commit 5002dcf

Please sign in to comment.