1919 runs-on : ubuntu-latest
2020 strategy :
2121 matrix :
22- python-version : ["3.10 "]
22+ python-version : ["3.11 "]
2323
2424 steps :
2525 - uses : actions/checkout@v3
4949 run : |
5050 ./utils/download_Eventdisplay_test_data.sh
5151
52- - name : V2Dl3- Eventdisplay
52+ - name : Eventdisplay-pointlike
5353 shell : bash -leo pipefail {0}
5454 env :
5555 PYTHONPATH : .
@@ -58,19 +58,81 @@ jobs:
5858 python pyV2DL3/script/v2dl3_for_Eventdisplay.py \
5959 -f ./64080.anasum.root \
6060 ./effectiveArea.root \
61+ --logfile test-pointlike.fits.log \
6162 test-pointlike-CI.fits.gz
6263 python pyV2DL3/script/compareFitsFiles.py \
6364 -f ED-pointlike-CI.fits.gz test-pointlike-CI.fits.gz \
6465 -d test-pointlike.log
6566 cat test-pointlike.log
6667 grep -q "No differences found" test-pointlike.log
68+
69+ - name : Eventdisplay-full-enclosure
70+ shell : bash -leo pipefail {0}
71+ env :
72+ PYTHONPATH : .
73+ run : |
6774 # full-enclosure tests
6875 python pyV2DL3/script/v2dl3_for_Eventdisplay.py --full-enclosure \
6976 -f ./64080.anasum.root \
7077 ./effectiveArea.root \
78+ --logfile test-full-enclosure.fits.log \
7179 test-full-enclosure-CI.fits.gz
7280 python pyV2DL3/script/compareFitsFiles.py \
7381 -f ED-fullenclosure-CI.fits.gz test-full-enclosure-CI.fits.gz \
7482 -d test-full-enclosure.log
7583 cat test-full-enclosure.log
7684 grep -q "No differences found" test-full-enclosure.log
85+
86+ - name : Eventdisplay-pointlike-DB
87+ shell : bash -leo pipefail {0}
88+ env :
89+ PYTHONPATH : .
90+ run : |
91+ # point-like tests (with DB)
92+ python pyV2DL3/script/v2dl3_for_Eventdisplay.py \
93+ -f ./64080.anasum.root \
94+ ./effectiveArea.root \
95+ --db_fits_file ./64080.db.fits.gz \
96+ --logfile test-pointlike-db.fits.log \
97+ test-pointlike-db-CI.fits.gz
98+ python pyV2DL3/script/compareFitsFiles.py \
99+ -f ED-pointlike-db-CI.fits.gz test-pointlike-db-CI.fits.gz \
100+ -d test-pointlike-db.log
101+ cat test-pointlike-db.log
102+ grep -q "No differences found" test-pointlike-db.log
103+
104+ - name : Eventdisplay-pointlike-select
105+ shell : bash -leo pipefail {0}
106+ env :
107+ PYTHONPATH : .
108+ run : |
109+ # point-like tests with event selection
110+ python pyV2DL3/script/v2dl3_for_Eventdisplay.py \
111+ -f ./64080.allevents.anasum.root \
112+ ./effectiveArea.root \
113+ --evt_filter eventfilter.yml \
114+ --logfile test-pointlike-all.fits.log \
115+ test-pointlike-all-CI.fits.gz
116+ python pyV2DL3/script/compareFitsFiles.py \
117+ -f ED-pointlike-all-CI.fits.gz test-pointlike-all-CI.fits.gz \
118+ -d test-pointlike-all.log
119+ cat test-pointlike-all.log
120+ grep -q "No differences found" test-pointlike-all.log
121+
122+ - name : Eventdisplay-full-enclosure-select
123+ shell : bash -leo pipefail {0}
124+ env :
125+ PYTHONPATH : .
126+ run : |
127+ # full-enclosure tests with event selection
128+ python pyV2DL3/script/v2dl3_for_Eventdisplay.py --full-enclosure \
129+ -f ./64080.allevents.anasum.root \
130+ ./effectiveArea.root \
131+ --evt_filter eventfilter.yml \
132+ --logfile test-full-enclosure-all.fits.log \
133+ test-full-enclosure-all-CI.fits.gz
134+ python pyV2DL3/script/compareFitsFiles.py \
135+ -f ED-full-enclosure-all-CI.fits.gz test-full-enclosure-all-CI.fits.gz \
136+ -d test-full-enclosure-all.log
137+ cat test-full-enclosure-all.log
138+ grep -q "No differences found" test-full-enclosure-all.log
0 commit comments