Skip to content

create derive_events_rate #8

create derive_events_rate

create derive_events_rate #8

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
- '**'
pull_request:
env:
MPLBACKEND: Agg
PYTEST_ADDOPTS: --color=yes
GITHUB_PR_NUMBER: ${{ github.event.number }}
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
# make sure we have version info
- run: git fetch --tags
- 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 -U pip setuptools wheel restructuredtext_lint
pip install -e .[all]
pip freeze
- name: Tests
run: |
pytest --cov=pyirf --cov-report=xml