Skip to content

Duplicate check in evaluator (#244) #536

Duplicate check in evaluator (#244)

Duplicate check in evaluator (#244) #536

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
merge_group:
push:
branches:
- master
- main
- develop
jobs:
pre-commit:
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-python@v3
with:
python-version: 3.11.3
- uses: pre-commit/action@v3.0.0
with:
extra_args: --hook-stage manual --all-files
checks:
name: Check Python ${{ matrix.python-version }} on ${{ matrix.runs-on }}
runs-on: ${{ matrix.runs-on }}
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.11", "3.12"]
runs-on: [ubuntu-latest, macos-13, windows-latest]
include:
- python-version: "3.12"
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install package
run: python -m pip install .[test]
- name: Test package
run: python -m pytest -ra
checkroot:
name: Check ROOT bindings
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Conda
uses: conda-incubator/setup-miniconda@v2.2.0
with:
python-version: 3.11
miniforge-variant: Mambaforge
channels: conda-forge,defaults
channel-priority: true
- name: Install ROOT
shell: bash -l {0}
run: |
mamba install root
- name: Install package
shell: bash -l {0}
run: python -m pip install .[test]
- name: Test package
shell: bash -l {0}
run: python -m pytest -ra