forked from cms-rwth/CoffeaRunner
-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (43 loc) · 1.12 KB
/
plotting_test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: plotting script test
on:
push:
branches: [ master ]
pull_request_target:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: ["3.8", "3.9", "3.10"]
defaults:
run:
shell: "bash -l {0}"
steps:
- name: Set conda environment
uses: conda-incubator/setup-miniconda@v2
with:
python-version: ${{ matrix.python-version }}
mamba-version: "*"
channels: conda-forge,defaults
channel-priority: true
auto-update-conda: true
activate-environment: CoffeaRunner
environment-file: env.yml
auto-activate-base: false
- name: Verify environment
run: |
conda info
conda env list
conda list
- name: Install Repo
run: |
pip install -e .
- name: data/MC plotter
run: |
python plotting/plotdataMC.py --cfg testfile/btv_datamc.yml
- name: comparison plotter
run: |
python plotting/comparison.py --cfg testfile/btv_comapre.yml