[release/public-v2.1.0] s3 path updates #1794
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python functional tests | |
on: | |
push: | |
branches: | |
- develop | |
- 'release/*' | |
paths: | |
- ush/*retrieve_data.py | |
- parm/data_locations.yml | |
pull_request: | |
branches: | |
- develop | |
- 'release/*' | |
workflow_dispatch: | |
env: | |
CI: true | |
jobs: | |
python_functests: | |
name: Python Functional Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
# Install dependencies | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install python3 python3-pip netcdf-bin | |
sudo pip3 install pyyaml jinja2 f90nml | |
sudo pip3 install numpy matplotlib basemap | |
# Run python functional tests | |
- name: Run python functional tests | |
run: | | |
cd ush | |
python3 -m unittest -b test_retrieve_data.FunctionalTesting |