Skip to content

Merge pull request #115 from iris-hep/fix_imported-module-names #308

Merge pull request #115 from iris-hep/fix_imported-module-names

Merge pull request #115 from iris-hep/fix_imported-module-names #308

name: Python package
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- 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 -e .[test]
- name: Lint with flake8
run: |
flake8
flake8 --select=C90 --exit-zero --max-complexity=10
- name: Test with pytest
run: |
pytest --cov=./ --cov-report=xml
- name: Codecov
uses: codecov/[email protected]