torchgeo/.github/workflows/release.yaml

38 строки
841 B
YAML

name: release
on:
push:
branches:
- release**
pull_request:
branches:
- release**
jobs:
notebooks:
name: notebooks
runs-on: ubuntu-latest
steps:
- name: Clone repo
uses: actions/checkout@v2
- name: Set up python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install pip dependencies
run: pip install .[tests]
- name: Run notebook checks
run: pytest --nbmake docs/tutorials
integration:
name: integration
runs-on: ubuntu-latest
steps:
- name: Clone repo
uses: actions/checkout@v2
- name: Set up python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install pip dependencies
run: pip install .[tests]
- name: Run integration checks
run: pytest -m slow