Skip to content

Commit

Permalink
Merge pull request #41 from brown-ccv/feature-test-step1
Browse files Browse the repository at this point in the history
Run test on step 1
  • Loading branch information
kmilo9999 authored Nov 28, 2023
2 parents d10ac18 + f5387d6 commit c4f7b01
Show file tree
Hide file tree
Showing 6 changed files with 613 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/test-B01_SL_load_single_file.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Test B01_SL_load_single_file
on:
pull_request: {}
push:
branches: [ main ]
jobs:
python_run_scripts:
strategy:
fail-fast: false
matrix:
version: ['3.9']
runs-on: ubuntu-latest
steps:
- name: install mpi
run: sudo apt update && sudo apt-get install openmpi-bin openmpi-doc libopenmpi-dev
- uses: actions/checkout@v3
- name: setup python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.version }} # install the python version needed
cache: "pip"
- name: install icesat2-tracks using pip
run: pip install .
- name: first step B01_SL_load_single_file
run: python src/icesat2_tracks/analysis_db/B01_SL_load_single_file.py 20190502052058_05180312_005_01 SH_testSLsinglefile2 True
8 changes: 7 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ dependencies = [ # Optional
"xarray",
"mpi4py",
"icesat2-toolkit==1.0.0.22",
"geopandas",
"sliderule",
"ipyleaflet"
]

# List additional groups of dependencies here (e.g. development
Expand Down Expand Up @@ -151,7 +154,10 @@ download = "icesat2_tracks.icesat2_tools_scripts.nsidc_icesat2_associated2:main"
# If there are data files included in your packages that need to be
# installed, specify them here.
# TODO: ADD ANY DATA FILES WE WANT TO HAVE
#package-data = {"sample" = ["*.dat"]}
package-data = {"icesat2_tracks" = ["config/*.json"]}

[tool.setuptools.packages.find]
where = ["src"]

[build-system]
# These are the assumed default build requirements from pip:
Expand Down
Loading

0 comments on commit c4f7b01

Please sign in to comment.