Skip to content

feat: better covariance plot #99

feat: better covariance plot

feat: better covariance plot #99

Workflow file for this run

name: PR Tests
on:
pull_request:
branches:
- master
jobs:
pre-commit:
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- uses: pre-commit/action@v3.0.1
with:
extra_args: --hook-stage manual --all-files
test:
name:
Run pytest (Python ${{ matrix.python-version }}, ROOT ${{
matrix.root-version }})
needs: pre-commit
runs-on: ubuntu-latest
strategy:
max-parallel: 4
fail-fast: true
matrix:
python-version: ["3.10"]
root-version: ["6.30.04", "6.32.10"]
include:
- python-version: "3.9"
root-version: "6.22.8"
steps:
- uses: actions/checkout@v1
- name: Set up Conda
uses: conda-incubator/setup-miniconda@v3
with:
python-version: ${{ matrix.python-version }}
miniforge-version: latest
- name: Install ROOT ${{ matrix.root-version }}
shell: bash -l {0}
run: |
mamba install -c conda-forge numpy scipy nomkl root==${{ matrix.root-version }}
- name: Install package
shell: bash -l {0}
run: |
pip install .[test]
- name: Test with pytest
shell: bash -l {0}
run: |
pytest tests