Skip to content

tidy: Start testing if we can apply reweight to umbrella solver. #268

tidy: Start testing if we can apply reweight to umbrella solver.

tidy: Start testing if we can apply reweight to umbrella solver. #268

# Performs unit and integration testing
name: Validations Python CI
# The events that trigger the workflow
on:
pull_request:
branches: [ main ]
workflow_dispatch:
permissions:
contents: read
packages: write
jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/mach3-software/mach3:alma9v1.3.0
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Get MaCh3 Validations
env:
HEAD_REF: ${{ github.head_ref }}
run: |
cd /opt/
git clone --branch "$HEAD_REF" https://github.com/mach3-software/MaCh3Tutorial.git MaCh3Validations
- name: pip Install
working-directory: /opt/MaCh3Validations
run: |
pip install -v .[testing]
- name: Validations
working-directory: /opt/MaCh3Validations
run: |
source /opt/root/v6-26-10/bin/thisroot.sh
export MACH3=$PWD
python3 -m pytest --config TutorialConfigs/FitterConfig.yaml CIValidations/PythonTests