Skip to content

[pre-commit.ci] pre-commit autoupdate #71

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #71

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.9", "3.10", "3.11"]
steps:
- name: Checkout source
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -U pytest pytest-cov pyyaml posttroll
- name: Run tests
run: |
pytest --cov=pytroll_runner pytroll_runner/tests --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: ./coverage.xml
env_vars: PYTHON_VERSION