Skip to content

Update gsl_ufs_rt to 12jan24 gsl_ufs_dev branch #88

Update gsl_ufs_rt to 12jan24 gsl_ufs_dev branch

Update gsl_ufs_rt to 12jan24 gsl_ufs_dev branch #88

Workflow file for this run

name: pytests
on: [push, pull_request]
jobs:
run_pytests:
runs-on: ubuntu-latest
name: Install pygw and run tests with pytests
strategy:
max-parallel: 1
matrix:
python: ["3.7", "3.8", "3.9", "3.10"]
steps:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install (upgrade) python dependencies
run: |
pip install --upgrade pip
- name: Checkout
uses: actions/checkout@v3
with:
path: global-workflow
- name: Install pygw
run: |
cd $GITHUB_WORKSPACE/global-workflow/ush/python/pygw
pip install .[dev]
- name: Run pytests
run: |
cd $GITHUB_WORKSPACE/global-workflow/ush/python/pygw
pytest -v src/tests