Skip to content

Merge pull request #86 from mraspaud/fix-noaa-20 #82

Merge pull request #86 from mraspaud/fix-noaa-20

Merge pull request #86 from mraspaud/fix-noaa-20 #82

Workflow file for this run

name: Run tests
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
python-version: ["3.10", "3.11", "3.12"]
experimental: [false]
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -U pytest pytest-cov numpy pyresample pyorbital six pyyaml defusedxml
- name: Install pytroll-collectors
run: |
pip install --no-deps -e .
- name: Run tests
run: |
pytest --cov=trollsched trollsched/tests --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
file: ./coverage.xml
env_vars: PYTHON_VERSION