Skip to content

Merge pull request #6 from cta-observatory/fix-solid-angle #98

Merge pull request #6 from cta-observatory/fix-solid-angle

Merge pull request #6 from cta-observatory/fix-solid-angle #98

Workflow file for this run

name: CI
on: [push, pull_request]
env:
MPLBACKEND: Agg
PYTEST_ADDOPTS: --color=yes
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python --version
pip install -e .[tests]
pip freeze
- name: Tests
run: |
pytest --cov=pybkgmodel --cov-report=xml
- uses: codecov/codecov-action@v1