Skip to content

Using Regionmask to mask bottom (#198) #663

Using Regionmask to mask bottom (#198)

Using Regionmask to mask bottom (#198) #663

Workflow file for this run

# .github/workflows/pytest.yml
name: PyTest
on: [push, pull_request, workflow_dispatch]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install dependencies
run: |
sudo apt-get install libgeos-dev
python -m pip install --upgrade pip
python -m pip install --upgrade setuptools wheel
pip install -r requirements-dev.txt
pip install -e .
- name: Run Coverage Pytest
run: pytest --cov=./ --cov-report=xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}