Skip to content

Merge pull request #12 from DHI/maintenance/use_pyproject_toml #61

Merge pull request #12 from DHI/maintenance/use_pyproject_toml

Merge pull request #12 from DHI/maintenance/use_pyproject_toml #61

name: Notebooks test
on:
push:
branches: [ main]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install watobs
run: |
pip install .[test,notebooks]
- name: Test notebooks
env:
DMI_API_KEY: ${{ secrets.DMI_API_KEY}}
DHI_ALTIMETRY_API_KEY: ${{ secrets.DHI_ALTIMETRY_API_KEY}}
run: |
pytest tests/notebooks/