Skip to content

Run test on step 1

Run test on step 1 #7

name: Test B01_SL_load_single_file
'on': pull_request
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: check files in path
run: ls -la /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/icesat2_tracks/config
- 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