Update specification based on feedback #1458
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CloudnetPy CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
python-version: ["3.10", "3.11"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: "pip" | |
- name: Install dependencies | |
run: | | |
pip install .[test,extras] | |
- name: Lint with pylint | |
run: | | |
pylint cloudnetpy tests | |
- name: Typecheck with mypy | |
run: | | |
mypy cloudnetpy tests | |
- name: Test with pytest-flakefinder | |
run: | | |
pytest --flake-finder --flake-runs=2 | |
- name: Run e2e-test | |
run: | | |
python3 tests/e2e_test.py | |
python3 cloudnetpy/model_evaluation/tests/e2e/process_cf/main.py | |
python3 cloudnetpy/model_evaluation/tests/e2e/process_iwc/main.py | |
python3 cloudnetpy/model_evaluation/tests/e2e/process_lwc/main.py |