module-qc-tools 2.2.3__tar.gz → 2.2.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- module_qc_tools-2.2.5/.gitlab-ci.yml +722 -0
- module_qc_tools-2.2.5/.linkcheckerrc +9 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/.pre-commit-config.yaml +8 -3
- {module_qc_tools-2.2.3/Measurements/ADC_CALIBRATION/2024-04-11_144359 → module_qc_tools-2.2.5/Measurements/ADC_CALIBRATION/2024-07-12_215321}/20UPGXM1234567.json +160 -343
- module_qc_tools-2.2.5/Measurements/ANALOG_READBACK/2024-07-12_215315/20UPGXM1234567.json +6599 -0
- module_qc_tools-2.2.5/Measurements/ANALOG_READBACK/2024-07-12_215320/20UPGXM1234567.json +8798 -0
- {module_qc_tools-2.2.3/Measurements/ANALOG_READBACK/2024-04-11_144351 → module_qc_tools-2.2.5/Measurements/ANALOG_READBACK/2024-07-12_215324}/20UPGXM1234567.json +1428 -1404
- {module_qc_tools-2.2.3/Measurements/DATA_TRANSMISSION/2024-04-11_144358 → module_qc_tools-2.2.5/Measurements/DATA_TRANSMISSION/2024-07-12_215320}/20UPGXM1234567.json +168 -168
- module_qc_tools-2.2.5/Measurements/DATA_TRANSMISSION/2024-07-12_215332/20UPGXM1234567.json +509 -0
- {module_qc_tools-2.2.3/Measurements/INJECTION_CAPACITANCE/2024-04-11_144353 → module_qc_tools-2.2.5/Measurements/INJECTION_CAPACITANCE/2024-07-12_215313}/20UPGXM1234567.json +128 -132
- module_qc_tools-2.2.5/Measurements/INJECTION_CAPACITANCE/2024-07-12_215315/20UPGXM1234567.json +562 -0
- module_qc_tools-2.2.5/Measurements/INJECTION_CAPACITANCE/2024-07-12_215324/20UPGXM1234567.json +416 -0
- {module_qc_tools-2.2.3/Measurements/IV_MEASURE/2024-04-11_144408 → module_qc_tools-2.2.5/Measurements/IV_MEASURE/2024-07-12_215319}/20UPGXM1234567.json +88 -88
- {module_qc_tools-2.2.3/Measurements/LP_MODE/2024-04-11_144406 → module_qc_tools-2.2.5/Measurements/LP_MODE/2024-07-12_215317}/20UPGXM1234567.json +84 -80
- module_qc_tools-2.2.5/Measurements/LP_MODE/2024-07-12_215322/20UPGXM1234567.json +730 -0
- module_qc_tools-2.2.5/Measurements/LP_MODE/2024-07-12_215325/20UPGXM1234567.json +548 -0
- {module_qc_tools-2.2.3/Measurements/OVERVOLTAGE_PROTECTION/2024-04-11_144333 → module_qc_tools-2.2.5/Measurements/OVERVOLTAGE_PROTECTION/2024-07-12_215317}/20UPGXM1234567.json +60 -64
- module_qc_tools-2.2.5/Measurements/OVERVOLTAGE_PROTECTION/2024-07-12_215324/20UPGXM1234567.json +626 -0
- module_qc_tools-2.2.5/Measurements/OVERVOLTAGE_PROTECTION/2024-07-12_215326/20UPGXM1234567.json +464 -0
- module_qc_tools-2.2.5/Measurements/SLDO/2024-07-12_215309/20UPGXM1234567.json +1938 -0
- module_qc_tools-2.2.5/Measurements/SLDO/2024-07-12_215310/20UPGXM1234567.json +1454 -0
- {module_qc_tools-2.2.3/Measurements/UNDERSHUNT_PROTECTION/2024-04-11_144338 → module_qc_tools-2.2.5/Measurements/UNDERSHUNT_PROTECTION/2024-07-12_215317}/20UPGXM1234567.json +196 -192
- module_qc_tools-2.2.5/Measurements/UNDERSHUNT_PROTECTION/2024-07-12_215318/20UPGXM1234567.json +686 -0
- {module_qc_tools-2.2.3/Measurements/VCAL_CALIBRATION/2024-04-11_144330 → module_qc_tools-2.2.5/Measurements/VCAL_CALIBRATION/2024-07-12_215310}/20UPGXM1234567.json +752 -768
- module_qc_tools-2.2.5/Measurements/VCAL_CALIBRATION/2024-07-12_215314/20UPGXM1234567.json +1940 -0
- module_qc_tools-2.2.5/Measurements/VCAL_CALIBRATION/2024-07-12_215319/20UPGXM1234567.json +2618 -0
- module_qc_tools-2.2.5/PKG-INFO +87 -0
- module_qc_tools-2.2.5/README.md +41 -0
- module_qc_tools-2.2.5/docs/.overrides/main.html +6 -0
- module_qc_tools-2.2.5/docs/.snippets/abbrs.txt +2 -0
- module_qc_tools-2.2.5/docs/.snippets/links.txt +2 -0
- module_qc_tools-2.2.5/docs/assets/css/custom.css +51 -0
- module_qc_tools-2.2.5/docs/config.md +135 -0
- module_qc_tools-2.2.5/docs/development.md +38 -0
- module_qc_tools-2.2.5/docs/history.md +21 -0
- module_qc_tools-2.2.5/docs/index.md +44 -0
- module_qc_tools-2.2.5/docs/install.md +119 -0
- module_qc_tools-2.2.5/docs/measurements.md +455 -0
- module_qc_tools-2.2.5/docs/meta/authors.md +21 -0
- module_qc_tools-2.2.5/docs/reference/cli.md +13 -0
- module_qc_tools-2.2.5/docs/reference/gen_ref_nav.py +39 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOjCnqEu92Fr1Mu51TjASc-CsTKlA.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOjCnqEu92Fr1Mu51TjASc0CsTKlA.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOjCnqEu92Fr1Mu51TjASc1CsTKlA.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOjCnqEu92Fr1Mu51TjASc2CsTKlA.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOjCnqEu92Fr1Mu51TjASc3CsTKlA.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOjCnqEu92Fr1Mu51TjASc5CsTKlA.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOjCnqEu92Fr1Mu51TjASc6CsQ.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOjCnqEu92Fr1Mu51TzBic-CsTKlA.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOjCnqEu92Fr1Mu51TzBic0CsTKlA.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOjCnqEu92Fr1Mu51TzBic1CsTKlA.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOjCnqEu92Fr1Mu51TzBic2CsTKlA.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOjCnqEu92Fr1Mu51TzBic3CsTKlA.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOjCnqEu92Fr1Mu51TzBic5CsTKlA.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOjCnqEu92Fr1Mu51TzBic6CsQ.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOkCnqEu92Fr1Mu51xEIzIFKw.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOkCnqEu92Fr1Mu51xFIzIFKw.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOkCnqEu92Fr1Mu51xGIzIFKw.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOkCnqEu92Fr1Mu51xHIzIFKw.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOkCnqEu92Fr1Mu51xIIzI.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOkCnqEu92Fr1Mu51xLIzIFKw.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOkCnqEu92Fr1Mu51xMIzIFKw.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOlCnqEu92Fr1MmSU5fABc4EsA.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOlCnqEu92Fr1MmSU5fBBc4.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOlCnqEu92Fr1MmSU5fBxc4EsA.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOlCnqEu92Fr1MmSU5fCBc4EsA.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOlCnqEu92Fr1MmSU5fCRc4EsA.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOlCnqEu92Fr1MmSU5fChc4EsA.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOlCnqEu92Fr1MmSU5fCxc4EsA.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOlCnqEu92Fr1MmWUlfABc4EsA.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOlCnqEu92Fr1MmWUlfBBc4.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOlCnqEu92Fr1MmWUlfBxc4EsA.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOlCnqEu92Fr1MmWUlfCBc4EsA.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOlCnqEu92Fr1MmWUlfCRc4EsA.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOlCnqEu92Fr1MmWUlfChc4EsA.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOlCnqEu92Fr1MmWUlfCxc4EsA.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOmCnqEu92Fr1Mu4WxKOzY.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOmCnqEu92Fr1Mu4mxK.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOmCnqEu92Fr1Mu5mxKOzY.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOmCnqEu92Fr1Mu72xKOzY.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOmCnqEu92Fr1Mu7GxKOzY.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOmCnqEu92Fr1Mu7WxKOzY.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/KFOmCnqEu92Fr1Mu7mxKOzY.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/L0xTDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vrtSM1J-gEPT5Ese6hmHSV0mf0h.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/L0xTDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vrtSM1J-gEPT5Ese6hmHSZ0mf0h.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/L0xTDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vrtSM1J-gEPT5Ese6hmHSd0mf0h.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/L0xTDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vrtSM1J-gEPT5Ese6hmHSh0mQ.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/L0xTDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vrtSM1J-gEPT5Ese6hmHSt0mf0h.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/L0xTDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vrtSM1J-gEPT5Ese6hmHSx0mf0h.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/L0xdDF4xlVMF-BfR8bXMIjhOsXG-q2oeuFoqFrlnAIe2Imhk1T8rbociImtElOUlYIw.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/L0xdDF4xlVMF-BfR8bXMIjhOsXG-q2oeuFoqFrlnAIe2Imhk1T8rbociImtEleUlYIw.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/L0xdDF4xlVMF-BfR8bXMIjhOsXG-q2oeuFoqFrlnAIe2Imhk1T8rbociImtEluUlYIw.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/L0xdDF4xlVMF-BfR8bXMIjhOsXG-q2oeuFoqFrlnAIe2Imhk1T8rbociImtEm-Ul.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/L0xdDF4xlVMF-BfR8bXMIjhOsXG-q2oeuFoqFrlnAIe2Imhk1T8rbociImtEmOUlYIw.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts/L0xdDF4xlVMF-BfR8bXMIjhOsXG-q2oeuFoqFrlnAIe2Imhk1T8rbociImtEn-UlYIw.woff2 +0 -0
- module_qc_tools-2.2.5/docs/stylesheets/fonts.css +683 -0
- module_qc_tools-2.2.5/docs/stylesheets/readme.txt +1 -0
- module_qc_tools-2.2.5/mkdocs.yml +184 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/pyproject.toml +56 -3
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/_version.py +2 -2
- module_qc_tools-2.2.5/src/module_qc_tools/cli/ADC_CALIBRATION.py +163 -0
- module_qc_tools-2.2.5/src/module_qc_tools/cli/ANALOG_READBACK.py +225 -0
- module_qc_tools-2.2.5/src/module_qc_tools/cli/DATA_TRANSMISSION.py +171 -0
- module_qc_tools-2.2.5/src/module_qc_tools/cli/INJECTION_CAPACITANCE.py +164 -0
- module_qc_tools-2.2.5/src/module_qc_tools/cli/IV_MEASURE.py +146 -0
- module_qc_tools-2.2.5/src/module_qc_tools/cli/LONG_TERM_STABILITY_DCS.py +178 -0
- module_qc_tools-2.2.5/src/module_qc_tools/cli/LP_MODE.py +166 -0
- module_qc_tools-2.2.5/src/module_qc_tools/cli/OVERVOLTAGE_PROTECTION.py +161 -0
- module_qc_tools-2.2.5/src/module_qc_tools/cli/SLDO.py +159 -0
- module_qc_tools-2.2.5/src/module_qc_tools/cli/UNDERSHUNT_PROTECTION.py +163 -0
- module_qc_tools-2.2.5/src/module_qc_tools/cli/VCAL_CALIBRATION.py +191 -0
- module_qc_tools-2.2.5/src/module_qc_tools/cli/__init__.py +78 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/cli/globals.py +59 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/cli/hardware_emulator.py +145 -28
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/cli/main.py +2 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/cli/upload_localdb.py +31 -41
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/data/configs/emulator_merged_vmux.json +29 -23
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/data/configs/example_merged_vmux.json +7 -1
- module_qc_tools-2.2.5/src/module_qc_tools/data/configs/example_merged_vmux_itkpixv2.json +156 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/data/configs/example_separate_vmux.json +7 -1
- module_qc_tools-2.2.5/src/module_qc_tools/data/emulator/configs/connectivity/20UPGXM1234567_Lx_dummy_disabledchip.json +33 -0
- module_qc_tools-2.2.5/src/module_qc_tools/data/schema/LONG_TERM_STABILITY_DCS.json +81 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/data/schema/config.json +6 -0
- module_qc_tools-2.2.5/src/module_qc_tools/measurements/__init__.py +0 -0
- module_qc_tools-2.2.5/src/module_qc_tools/measurements/adc_calibration.py +165 -0
- module_qc_tools-2.2.5/src/module_qc_tools/measurements/analog_readback.py +477 -0
- module_qc_tools-2.2.5/src/module_qc_tools/measurements/data_transmission.py +181 -0
- module_qc_tools-2.2.5/src/module_qc_tools/measurements/injection_capacitance.py +180 -0
- module_qc_tools-2.2.5/src/module_qc_tools/measurements/iv_measure.py +188 -0
- module_qc_tools-2.2.5/src/module_qc_tools/measurements/long_term_stability_dcs.py +127 -0
- module_qc_tools-2.2.5/src/module_qc_tools/measurements/lp_mode.py +198 -0
- module_qc_tools-2.2.5/src/module_qc_tools/measurements/overvoltage_protection.py +165 -0
- module_qc_tools-2.2.5/src/module_qc_tools/measurements/sldo.py +144 -0
- module_qc_tools-2.2.5/src/module_qc_tools/measurements/undershunt_protection.py +187 -0
- module_qc_tools-2.2.5/src/module_qc_tools/measurements/vcal_calibration.py +193 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/utils/hardware_control_base.py +32 -32
- module_qc_tools-2.2.5/src/module_qc_tools/utils/misc.py +398 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/utils/multimeter.py +2 -2
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/utils/ntc.py +2 -2
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/utils/power_supply.py +7 -7
- module_qc_tools-2.2.5/src/module_qc_tools/utils/subprocess_emulator.py +59 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/utils/yarr.py +217 -73
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/tbump.toml +10 -2
- module_qc_tools-2.2.5/tests/test_measurements.py +45 -0
- module_qc_tools-2.2.3/.gitlab-ci.yml +0 -313
- module_qc_tools-2.2.3/Measurements/SLDO/2024-04-11_144328/20UPGXM1234567.json +0 -1942
- module_qc_tools-2.2.3/PKG-INFO +0 -1106
- module_qc_tools-2.2.3/README.md +0 -1061
- module_qc_tools-2.2.3/src/module_qc_tools/cli/ADC_CALIBRATION.py +0 -313
- module_qc_tools-2.2.3/src/module_qc_tools/cli/ANALOG_READBACK.py +0 -728
- module_qc_tools-2.2.3/src/module_qc_tools/cli/DATA_TRANSMISSION.py +0 -325
- module_qc_tools-2.2.3/src/module_qc_tools/cli/INJECTION_CAPACITANCE.py +0 -322
- module_qc_tools-2.2.3/src/module_qc_tools/cli/IV_MEASURE.py +0 -303
- module_qc_tools-2.2.3/src/module_qc_tools/cli/LP_MODE.py +0 -337
- module_qc_tools-2.2.3/src/module_qc_tools/cli/OVERVOLTAGE_PROTECTION.py +0 -315
- module_qc_tools-2.2.3/src/module_qc_tools/cli/SLDO.py +0 -284
- module_qc_tools-2.2.3/src/module_qc_tools/cli/UNDERSHUNT_PROTECTION.py +0 -339
- module_qc_tools-2.2.3/src/module_qc_tools/cli/VCAL_CALIBRATION.py +0 -354
- module_qc_tools-2.2.3/src/module_qc_tools/cli/__init__.py +0 -8
- module_qc_tools-2.2.3/src/module_qc_tools/utils/misc.py +0 -200
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/.gitignore +0 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/.gitmodules +0 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/LICENSE +0 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/docs/.gitkeep +0 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/emulator/README.md +0 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/__init__.py +0 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/cli/__main__.py +0 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/data/emulator/configs/connectivity/20UPGXM1234567_Lx_dummy.json +0 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/data/emulator/configs/connectivity/chip/dummy_chip1.json +0 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/data/emulator/configs/connectivity/chip/dummy_chip2.json +0 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/data/emulator/configs/connectivity/chip/dummy_chip3.json +0 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/data/emulator/configs/connectivity/chip/dummy_chip4.json +0 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/data/emulator/configs/controller/specCfg-rd53b.json +0 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/data/emulator/module_state_template.json +0 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/data/schema/ADC_CALIBRATION.json +0 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/data/schema/ANALOG_READBACK.json +0 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/data/schema/DATA_TRANSMISSION.json +0 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/data/schema/INJECTION_CAPACITANCE.json +0 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/data/schema/IV_MEASURE.json +0 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/data/schema/LP_MODE.json +0 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/data/schema/OVERVOLTAGE_PROTECTION.json +0 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/data/schema/SLDO.json +0 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/data/schema/UNDERSHUNT_PROTECTION.json +0 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/data/schema/VCAL_CALIBRATION.json +0 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/data/schema/common.json +0 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/src/module_qc_tools/utils/__init__.py +0 -0
- {module_qc_tools-2.2.3 → module_qc_tools-2.2.5}/tests/test_package.py +0 -0
|
@@ -0,0 +1,722 @@
|
|
|
1
|
+
stages:
|
|
2
|
+
- autoupdate
|
|
3
|
+
- check
|
|
4
|
+
- test
|
|
5
|
+
- build
|
|
6
|
+
- deploy
|
|
7
|
+
|
|
8
|
+
variables:
|
|
9
|
+
# see https://docs.gitlab.com/ee/ci/caching/#cache-python-dependencies
|
|
10
|
+
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
|
|
11
|
+
PRE_COMMIT_HOME: "$CI_PROJECT_DIR/.cache/pre-commit"
|
|
12
|
+
|
|
13
|
+
cache:
|
|
14
|
+
paths:
|
|
15
|
+
- .cache/pip
|
|
16
|
+
- .cache/pre-commit
|
|
17
|
+
- venv/
|
|
18
|
+
|
|
19
|
+
image: python:3.11-buster
|
|
20
|
+
before_script:
|
|
21
|
+
# want to set up a virtualenv to cache
|
|
22
|
+
- apt-get install -y --no-install-recommends git
|
|
23
|
+
- python -V
|
|
24
|
+
- git config --global credential.helper 'cache'
|
|
25
|
+
- |
|
|
26
|
+
echo "protocol=https
|
|
27
|
+
host=gitlab.cern.ch
|
|
28
|
+
username=gitlab-ci-token
|
|
29
|
+
password=${CI_JOB_TOKEN}
|
|
30
|
+
" | git credential approve
|
|
31
|
+
- python -m venv venv
|
|
32
|
+
- source venv/bin/activate
|
|
33
|
+
- python -m pip install -U pip pipx
|
|
34
|
+
- python -m pipx ensurepath
|
|
35
|
+
- python -m pip freeze --local
|
|
36
|
+
|
|
37
|
+
# NB: repo-review requires python>=3.10
|
|
38
|
+
review:
|
|
39
|
+
image: python:3.10-buster
|
|
40
|
+
stage: check
|
|
41
|
+
script:
|
|
42
|
+
- pipx run 'sp-repo-review[cli]' .
|
|
43
|
+
|
|
44
|
+
lint:
|
|
45
|
+
stage: check
|
|
46
|
+
rules:
|
|
47
|
+
- if: $CI_PIPELINE_SOURCE == "push"
|
|
48
|
+
script:
|
|
49
|
+
- pipx run hatch run lint
|
|
50
|
+
|
|
51
|
+
pre-commit:
|
|
52
|
+
stage: check
|
|
53
|
+
variables:
|
|
54
|
+
PRE_COMMIT_HOME: "$CI_PROJECT_DIR/.cache/pre-commit"
|
|
55
|
+
rules:
|
|
56
|
+
- if: $CI_PIPELINE_SOURCE == "push"
|
|
57
|
+
script:
|
|
58
|
+
- pipx run pre-commit run --hook-stage manual --all-files
|
|
59
|
+
cache:
|
|
60
|
+
key:
|
|
61
|
+
files:
|
|
62
|
+
- .pre-commit-config.yaml
|
|
63
|
+
paths:
|
|
64
|
+
- .cache/pre-commit
|
|
65
|
+
|
|
66
|
+
pre-commit-autoupdate:
|
|
67
|
+
stage: autoupdate
|
|
68
|
+
rules:
|
|
69
|
+
- if: $CI_PIPELINE_SOURCE == "schedule"
|
|
70
|
+
when: always
|
|
71
|
+
- if:
|
|
72
|
+
$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
|
73
|
+
when: manual
|
|
74
|
+
# manual jobs need allow_failure? https://gitlab.com/gitlab-org/gitlab/-/issues/233876
|
|
75
|
+
allow_failure: true
|
|
76
|
+
script:
|
|
77
|
+
- python -m pip install pre-commit
|
|
78
|
+
- python -m pip freeze --local
|
|
79
|
+
- ci/pre-commit-update.sh
|
|
80
|
+
|
|
81
|
+
cache:
|
|
82
|
+
key:
|
|
83
|
+
files:
|
|
84
|
+
- .pre-commit-config.yaml
|
|
85
|
+
paths:
|
|
86
|
+
- .cache/pre-commit
|
|
87
|
+
|
|
88
|
+
tests:
|
|
89
|
+
stage: test
|
|
90
|
+
image: $IMAGE
|
|
91
|
+
script:
|
|
92
|
+
- git clone
|
|
93
|
+
https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.cern.ch/atlas-itk/pixel/module/module-qc-tools
|
|
94
|
+
- pipx run hatch run +py=${PYTHON_VERSION} dev:test
|
|
95
|
+
parallel:
|
|
96
|
+
matrix:
|
|
97
|
+
- IMAGE: "python:3.7-buster"
|
|
98
|
+
PYTHON_VERSION: "3.7"
|
|
99
|
+
- IMAGE: "python:3.8-buster"
|
|
100
|
+
PYTHON_VERSION: "3.8"
|
|
101
|
+
- IMAGE: "python:3.9-buster"
|
|
102
|
+
PYTHON_VERSION: "3.9"
|
|
103
|
+
- IMAGE: "python:3.10-buster"
|
|
104
|
+
PYTHON_VERSION: "3.10"
|
|
105
|
+
- IMAGE: "python:3.11-buster"
|
|
106
|
+
PYTHON_VERSION: "3.11"
|
|
107
|
+
|
|
108
|
+
.test:
|
|
109
|
+
image: python:3.7-buster
|
|
110
|
+
stage: test
|
|
111
|
+
|
|
112
|
+
SLDO:
|
|
113
|
+
extends: .test
|
|
114
|
+
script:
|
|
115
|
+
- python -m pip install check-jsonschema
|
|
116
|
+
- python3 -m pip install .
|
|
117
|
+
- echo "Running SLDO with toy emulator..."
|
|
118
|
+
- measurement-SLDO -c $(module-qc-tools
|
|
119
|
+
--prefix)/configs/emulator_merged_vmux.json -o ./ --site TEST
|
|
120
|
+
- for file in Measurements/SLDO/*/*.json; do echo $file; check-jsonschema
|
|
121
|
+
$file --schemafile $(module-qc-tools --prefix)/schema/common.json; done
|
|
122
|
+
- for file in Measurements/SLDO/*/*.json; do echo $file; check-jsonschema
|
|
123
|
+
$file --schemafile $(module-qc-tools --prefix)/schema/SLDO.json; done
|
|
124
|
+
artifacts:
|
|
125
|
+
paths:
|
|
126
|
+
- Measurements/SLDO/*/*.json
|
|
127
|
+
expire_in: 1 day
|
|
128
|
+
|
|
129
|
+
SLDO-ADC:
|
|
130
|
+
extends: .test
|
|
131
|
+
script:
|
|
132
|
+
- python -m pip install check-jsonschema
|
|
133
|
+
- python3 -m pip install .
|
|
134
|
+
- echo "Running SLDO with toy emulator using calibrated ADC..."
|
|
135
|
+
- measurement-SLDO -c $(module-qc-tools
|
|
136
|
+
--prefix)/configs/emulator_merged_vmux.json -o ./ --site TEST
|
|
137
|
+
--use-calib-adc
|
|
138
|
+
- for file in Measurements/SLDO/*/*.json; do echo $file; check-jsonschema
|
|
139
|
+
$file --schemafile $(module-qc-tools --prefix)/schema/common.json; done
|
|
140
|
+
- for file in Measurements/SLDO/*/*.json; do echo $file; check-jsonschema
|
|
141
|
+
$file --schemafile $(module-qc-tools --prefix)/schema/SLDO.json; done
|
|
142
|
+
artifacts:
|
|
143
|
+
paths:
|
|
144
|
+
- Measurements/SLDO/*/*.json
|
|
145
|
+
expire_in: 1 day
|
|
146
|
+
|
|
147
|
+
SLDO-DISABLED:
|
|
148
|
+
extends: .test
|
|
149
|
+
script:
|
|
150
|
+
- python -m pip install check-jsonschema
|
|
151
|
+
- python3 -m pip install .
|
|
152
|
+
- echo "Running SLDO with toy emulator and disabled chip..."
|
|
153
|
+
- measurement-SLDO -c $(module-qc-tools
|
|
154
|
+
--prefix)/configs/emulator_merged_vmux.json -o ./ --site TEST -m
|
|
155
|
+
$(module-qc-tools
|
|
156
|
+
--prefix)/emulator/configs/connectivity/20UPGXM1234567_Lx_dummy_disabledchip.json
|
|
157
|
+
- for file in Measurements/SLDO/*/*.json; do echo $file; check-jsonschema
|
|
158
|
+
$file --schemafile $(module-qc-tools --prefix)/schema/common.json; done
|
|
159
|
+
- for file in Measurements/SLDO/*/*.json; do echo $file; check-jsonschema
|
|
160
|
+
$file --schemafile $(module-qc-tools --prefix)/schema/SLDO.json; done
|
|
161
|
+
artifacts:
|
|
162
|
+
paths:
|
|
163
|
+
- Measurements/SLDO/*/*.json
|
|
164
|
+
expire_in: 1 day
|
|
165
|
+
|
|
166
|
+
VCAL_CALIBRATION:
|
|
167
|
+
extends: .test
|
|
168
|
+
script:
|
|
169
|
+
- python -m pip install check-jsonschema
|
|
170
|
+
- python3 -m pip install .
|
|
171
|
+
- echo "Running VCAL_CALIBRATION with the toy emulator..."
|
|
172
|
+
- measurement-VCAL-CALIBRATION -c $(module-qc-tools
|
|
173
|
+
--prefix)/configs/emulator_merged_vmux.json -o ./ --site TEST
|
|
174
|
+
- for file in Measurements/VCAL_CALIBRATION/*/*.json; do echo $file;
|
|
175
|
+
check-jsonschema $file --schemafile $(module-qc-tools
|
|
176
|
+
--prefix)/schema/common.json; done
|
|
177
|
+
- for file in Measurements/VCAL_CALIBRATION/*/*.json; do echo $file;
|
|
178
|
+
check-jsonschema $file --schemafile $(module-qc-tools
|
|
179
|
+
--prefix)/schema/VCAL_CALIBRATION.json; done
|
|
180
|
+
artifacts:
|
|
181
|
+
paths:
|
|
182
|
+
- Measurements/VCAL_CALIBRATION/*/*.json
|
|
183
|
+
expire_in: 1 day
|
|
184
|
+
|
|
185
|
+
VCAL_CALIBRATION-ADC:
|
|
186
|
+
extends: .test
|
|
187
|
+
script:
|
|
188
|
+
- python -m pip install check-jsonschema
|
|
189
|
+
- python3 -m pip install .
|
|
190
|
+
- echo "Running VCAL_CALIBRATION with the toy emulator and calibrated
|
|
191
|
+
ADC..."
|
|
192
|
+
- measurement-VCAL-CALIBRATION -c $(module-qc-tools
|
|
193
|
+
--prefix)/configs/emulator_merged_vmux.json -o ./ --site TEST
|
|
194
|
+
--use-calib-adc
|
|
195
|
+
- for file in Measurements/VCAL_CALIBRATION/*/*.json; do echo $file;
|
|
196
|
+
check-jsonschema $file --schemafile $(module-qc-tools
|
|
197
|
+
--prefix)/schema/common.json; done
|
|
198
|
+
- for file in Measurements/VCAL_CALIBRATION/*/*.json; do echo $file;
|
|
199
|
+
check-jsonschema $file --schemafile $(module-qc-tools
|
|
200
|
+
--prefix)/schema/VCAL_CALIBRATION.json; done
|
|
201
|
+
artifacts:
|
|
202
|
+
paths:
|
|
203
|
+
- Measurements/VCAL_CALIBRATION/*/*.json
|
|
204
|
+
expire_in: 1 day
|
|
205
|
+
|
|
206
|
+
VCAL_CALIBRATION-DISABLED:
|
|
207
|
+
extends: .test
|
|
208
|
+
script:
|
|
209
|
+
- python -m pip install check-jsonschema
|
|
210
|
+
- python3 -m pip install .
|
|
211
|
+
- echo "Running VCAL_CALIBRATION with the toy emulator and disabled chip..."
|
|
212
|
+
- measurement-VCAL-CALIBRATION -c $(module-qc-tools
|
|
213
|
+
--prefix)/configs/emulator_merged_vmux.json -o ./ --site TEST -m
|
|
214
|
+
$(module-qc-tools
|
|
215
|
+
--prefix)/emulator/configs/connectivity/20UPGXM1234567_Lx_dummy_disabledchip.json
|
|
216
|
+
- for file in Measurements/VCAL_CALIBRATION/*/*.json; do echo $file;
|
|
217
|
+
check-jsonschema $file --schemafile $(module-qc-tools
|
|
218
|
+
--prefix)/schema/common.json; done
|
|
219
|
+
- for file in Measurements/VCAL_CALIBRATION/*/*.json; do echo $file;
|
|
220
|
+
check-jsonschema $file --schemafile $(module-qc-tools
|
|
221
|
+
--prefix)/schema/VCAL_CALIBRATION.json; done
|
|
222
|
+
artifacts:
|
|
223
|
+
paths:
|
|
224
|
+
- Measurements/VCAL_CALIBRATION/*/*.json
|
|
225
|
+
expire_in: 1 day
|
|
226
|
+
|
|
227
|
+
ANALOG_READBACK:
|
|
228
|
+
extends: .test
|
|
229
|
+
script:
|
|
230
|
+
- python -m pip install check-jsonschema
|
|
231
|
+
- python3 -m pip install .
|
|
232
|
+
- echo "Running ANALOG_READBACK with toy emulator..."
|
|
233
|
+
- measurement-ANALOG-READBACK -c $(module-qc-tools
|
|
234
|
+
--prefix)/configs/emulator_merged_vmux.json -o ./ --site TEST
|
|
235
|
+
- for file in Measurements/ANALOG_READBACK/*/*.json; do echo $file;
|
|
236
|
+
check-jsonschema $file --schemafile $(module-qc-tools
|
|
237
|
+
--prefix)/schema/common.json; done
|
|
238
|
+
- for file in Measurements/ANALOG_READBACK/*/*.json; do echo $file;
|
|
239
|
+
check-jsonschema $file --schemafile $(module-qc-tools
|
|
240
|
+
--prefix)/schema/ANALOG_READBACK.json; done
|
|
241
|
+
artifacts:
|
|
242
|
+
paths:
|
|
243
|
+
- Measurements/ANALOG_READBACK/*/*.json
|
|
244
|
+
expire_in: 1 day
|
|
245
|
+
|
|
246
|
+
ANALOG_READBACK-ADC:
|
|
247
|
+
extends: .test
|
|
248
|
+
script:
|
|
249
|
+
- python -m pip install check-jsonschema
|
|
250
|
+
- python3 -m pip install .
|
|
251
|
+
- echo "Running ANALOG_READBACK with toy emulator and calibrated ADC..."
|
|
252
|
+
- measurement-ANALOG-READBACK -c $(module-qc-tools
|
|
253
|
+
--prefix)/configs/emulator_merged_vmux.json -o ./ --site TEST
|
|
254
|
+
--use-calib-adc
|
|
255
|
+
- for file in Measurements/ANALOG_READBACK/*/*.json; do echo $file;
|
|
256
|
+
check-jsonschema $file --schemafile $(module-qc-tools
|
|
257
|
+
--prefix)/schema/common.json; done
|
|
258
|
+
- for file in Measurements/ANALOG_READBACK/*/*.json; do echo $file;
|
|
259
|
+
check-jsonschema $file --schemafile $(module-qc-tools
|
|
260
|
+
--prefix)/schema/ANALOG_READBACK.json; done
|
|
261
|
+
artifacts:
|
|
262
|
+
paths:
|
|
263
|
+
- Measurements/ANALOG_READBACK/*/*.json
|
|
264
|
+
expire_in: 1 day
|
|
265
|
+
|
|
266
|
+
ANALOG_READBACK-DISABLED:
|
|
267
|
+
extends: .test
|
|
268
|
+
script:
|
|
269
|
+
- python -m pip install check-jsonschema
|
|
270
|
+
- python3 -m pip install .
|
|
271
|
+
- echo "Running ANALOG_READBACK with toy emulator and disabled chip..."
|
|
272
|
+
- measurement-ANALOG-READBACK -c $(module-qc-tools
|
|
273
|
+
--prefix)/configs/emulator_merged_vmux.json -o ./ --site TEST -m
|
|
274
|
+
$(module-qc-tools
|
|
275
|
+
--prefix)/emulator/configs/connectivity/20UPGXM1234567_Lx_dummy_disabledchip.json
|
|
276
|
+
- for file in Measurements/ANALOG_READBACK/*/*.json; do echo $file;
|
|
277
|
+
check-jsonschema $file --schemafile $(module-qc-tools
|
|
278
|
+
--prefix)/schema/common.json; done
|
|
279
|
+
- for file in Measurements/ANALOG_READBACK/*/*.json; do echo $file;
|
|
280
|
+
check-jsonschema $file --schemafile $(module-qc-tools
|
|
281
|
+
--prefix)/schema/ANALOG_READBACK.json; done
|
|
282
|
+
artifacts:
|
|
283
|
+
paths:
|
|
284
|
+
- Measurements/ANALOG_READBACK/*/*.json
|
|
285
|
+
expire_in: 1 day
|
|
286
|
+
|
|
287
|
+
ADC_CALIBRATION:
|
|
288
|
+
extends: .test
|
|
289
|
+
script:
|
|
290
|
+
- python -m pip install check-jsonschema
|
|
291
|
+
- python3 -m pip install . --no-cache-dir
|
|
292
|
+
- echo "Running ADC_CALIBRATION with the toy emulator..."
|
|
293
|
+
- measurement-ADC-CALIBRATION -c $(module-qc-tools
|
|
294
|
+
--prefix)/configs/emulator_merged_vmux.json -o ./ --site TEST
|
|
295
|
+
- for file in Measurements/ADC_CALIBRATION/*/*.json; do echo $file;
|
|
296
|
+
check-jsonschema $file --schemafile $(module-qc-tools
|
|
297
|
+
--prefix)/schema/common.json; done
|
|
298
|
+
- for file in Measurements/ADC_CALIBRATION/*/*.json; do echo $file;
|
|
299
|
+
check-jsonschema $file --schemafile $(module-qc-tools
|
|
300
|
+
--prefix)/schema/ADC_CALIBRATION.json; done
|
|
301
|
+
artifacts:
|
|
302
|
+
paths:
|
|
303
|
+
- Measurements/ADC_CALIBRATION/*/*.json
|
|
304
|
+
expire_in: 1 day
|
|
305
|
+
|
|
306
|
+
ADC_CALIBRATION-DISABLED:
|
|
307
|
+
extends: .test
|
|
308
|
+
script:
|
|
309
|
+
- python -m pip install check-jsonschema
|
|
310
|
+
- python3 -m pip install . --no-cache-dir
|
|
311
|
+
- echo "Running ADC_CALIBRATION with the toy emulator and disabled chip..."
|
|
312
|
+
- measurement-ADC-CALIBRATION -c $(module-qc-tools
|
|
313
|
+
--prefix)/configs/emulator_merged_vmux.json -o ./ --site TEST -m
|
|
314
|
+
$(module-qc-tools
|
|
315
|
+
--prefix)/emulator/configs/connectivity/20UPGXM1234567_Lx_dummy_disabledchip.json
|
|
316
|
+
- for file in Measurements/ADC_CALIBRATION/*/*.json; do echo $file;
|
|
317
|
+
check-jsonschema $file --schemafile $(module-qc-tools
|
|
318
|
+
--prefix)/schema/common.json; done
|
|
319
|
+
- for file in Measurements/ADC_CALIBRATION/*/*.json; do echo $file;
|
|
320
|
+
check-jsonschema $file --schemafile $(module-qc-tools
|
|
321
|
+
--prefix)/schema/ADC_CALIBRATION.json; done
|
|
322
|
+
artifacts:
|
|
323
|
+
paths:
|
|
324
|
+
- Measurements/ADC_CALIBRATION/*/*.json
|
|
325
|
+
expire_in: 1 day
|
|
326
|
+
|
|
327
|
+
INJECTION_CAPACITANCE:
|
|
328
|
+
extends: .test
|
|
329
|
+
script:
|
|
330
|
+
- python -m pip install check-jsonschema
|
|
331
|
+
- python3 -m pip install . --no-cache-dir
|
|
332
|
+
- echo "Running INJECTION-CAPACITANCE with the toy emulator..."
|
|
333
|
+
- measurement-INJECTION-CAPACITANCE -c $(module-qc-tools
|
|
334
|
+
--prefix)/configs/emulator_merged_vmux.json -o ./ --site TEST
|
|
335
|
+
- for file in Measurements/INJECTION_CAPACITANCE/*/*.json; do echo $file;
|
|
336
|
+
check-jsonschema $file --schemafile $(module-qc-tools
|
|
337
|
+
--prefix)/schema/common.json; done
|
|
338
|
+
- for file in Measurements/INJECTION_CAPACITANCE/*/*.json; do echo $file;
|
|
339
|
+
check-jsonschema $file --schemafile $(module-qc-tools
|
|
340
|
+
--prefix)/schema/INJECTION_CAPACITANCE.json; done
|
|
341
|
+
artifacts:
|
|
342
|
+
paths:
|
|
343
|
+
- Measurements/INJECTION_CAPACITANCE/*/*.json
|
|
344
|
+
expire_in: 1 day
|
|
345
|
+
|
|
346
|
+
INJECTION_CAPACITANCE-ADC:
|
|
347
|
+
extends: .test
|
|
348
|
+
script:
|
|
349
|
+
- python -m pip install check-jsonschema
|
|
350
|
+
- python3 -m pip install . --no-cache-dir
|
|
351
|
+
- echo "Running INJECTION-CAPACITANCE with the toy emulator and calibrated
|
|
352
|
+
ADC..."
|
|
353
|
+
- measurement-INJECTION-CAPACITANCE -c $(module-qc-tools
|
|
354
|
+
--prefix)/configs/emulator_merged_vmux.json -o ./ --site TEST
|
|
355
|
+
--use-calib-adc
|
|
356
|
+
- for file in Measurements/INJECTION_CAPACITANCE/*/*.json; do echo $file;
|
|
357
|
+
check-jsonschema $file --schemafile $(module-qc-tools
|
|
358
|
+
--prefix)/schema/common.json; done
|
|
359
|
+
- for file in Measurements/INJECTION_CAPACITANCE/*/*.json; do echo $file;
|
|
360
|
+
check-jsonschema $file --schemafile $(module-qc-tools
|
|
361
|
+
--prefix)/schema/INJECTION_CAPACITANCE.json; done
|
|
362
|
+
artifacts:
|
|
363
|
+
paths:
|
|
364
|
+
- Measurements/INJECTION_CAPACITANCE/*/*.json
|
|
365
|
+
expire_in: 1 day
|
|
366
|
+
|
|
367
|
+
INJECTION_CAPACITANCE-DISABLED:
|
|
368
|
+
extends: .test
|
|
369
|
+
script:
|
|
370
|
+
- python -m pip install check-jsonschema
|
|
371
|
+
- python3 -m pip install . --no-cache-dir
|
|
372
|
+
- echo "Running INJECTION-CAPACITANCE with the toy emulator and disabled
|
|
373
|
+
chip..."
|
|
374
|
+
- measurement-INJECTION-CAPACITANCE -c $(module-qc-tools
|
|
375
|
+
--prefix)/configs/emulator_merged_vmux.json -o ./ --site TEST -m
|
|
376
|
+
$(module-qc-tools
|
|
377
|
+
--prefix)/emulator/configs/connectivity/20UPGXM1234567_Lx_dummy_disabledchip.json
|
|
378
|
+
- for file in Measurements/INJECTION_CAPACITANCE/*/*.json; do echo $file;
|
|
379
|
+
check-jsonschema $file --schemafile $(module-qc-tools
|
|
380
|
+
--prefix)/schema/common.json; done
|
|
381
|
+
- for file in Measurements/INJECTION_CAPACITANCE/*/*.json; do echo $file;
|
|
382
|
+
check-jsonschema $file --schemafile $(module-qc-tools
|
|
383
|
+
--prefix)/schema/INJECTION_CAPACITANCE.json; done
|
|
384
|
+
artifacts:
|
|
385
|
+
paths:
|
|
386
|
+
- Measurements/INJECTION_CAPACITANCE/*/*.json
|
|
387
|
+
expire_in: 1 day
|
|
388
|
+
|
|
389
|
+
LP_MODE:
|
|
390
|
+
extends: .test
|
|
391
|
+
script:
|
|
392
|
+
- python -m pip install check-jsonschema
|
|
393
|
+
- python3 -m pip install .
|
|
394
|
+
- echo "Running LP_MODE with toy emulator..."
|
|
395
|
+
- measurement-LP-MODE -c $(module-qc-tools
|
|
396
|
+
--prefix)/configs/emulator_merged_vmux.json -o ./ --site TEST
|
|
397
|
+
- for file in Measurements/LP_MODE/*/*.json; do echo $file; check-jsonschema
|
|
398
|
+
$file --schemafile $(module-qc-tools --prefix)/schema/common.json; done
|
|
399
|
+
- for file in Measurements/LP_MODE/*/*.json; do echo $file; check-jsonschema
|
|
400
|
+
$file --schemafile $(module-qc-tools --prefix)/schema/LP_MODE.json; done
|
|
401
|
+
artifacts:
|
|
402
|
+
paths:
|
|
403
|
+
- Measurements/LP_MODE/*/*.json
|
|
404
|
+
expire_in: 1 day
|
|
405
|
+
|
|
406
|
+
LP_MODE-ADC:
|
|
407
|
+
extends: .test
|
|
408
|
+
script:
|
|
409
|
+
- python -m pip install check-jsonschema
|
|
410
|
+
- python3 -m pip install .
|
|
411
|
+
- echo "Running LP_MODE with toy emulator and calibrated ADC..."
|
|
412
|
+
- measurement-LP-MODE -c $(module-qc-tools
|
|
413
|
+
--prefix)/configs/emulator_merged_vmux.json -o ./ --site TEST
|
|
414
|
+
--use-calib-adc
|
|
415
|
+
- for file in Measurements/LP_MODE/*/*.json; do echo $file; check-jsonschema
|
|
416
|
+
$file --schemafile $(module-qc-tools --prefix)/schema/common.json; done
|
|
417
|
+
- for file in Measurements/LP_MODE/*/*.json; do echo $file; check-jsonschema
|
|
418
|
+
$file --schemafile $(module-qc-tools --prefix)/schema/LP_MODE.json; done
|
|
419
|
+
artifacts:
|
|
420
|
+
paths:
|
|
421
|
+
- Measurements/LP_MODE/*/*.json
|
|
422
|
+
expire_in: 1 day
|
|
423
|
+
|
|
424
|
+
LP_MODE-DISABLED:
|
|
425
|
+
extends: .test
|
|
426
|
+
script:
|
|
427
|
+
- python -m pip install check-jsonschema
|
|
428
|
+
- python3 -m pip install .
|
|
429
|
+
- echo "Running LP_MODE with toy emulator and disabled chip..."
|
|
430
|
+
- measurement-LP-MODE -c $(module-qc-tools
|
|
431
|
+
--prefix)/configs/emulator_merged_vmux.json -o ./ --site TEST -m
|
|
432
|
+
$(module-qc-tools
|
|
433
|
+
--prefix)/emulator/configs/connectivity/20UPGXM1234567_Lx_dummy_disabledchip.json
|
|
434
|
+
- for file in Measurements/LP_MODE/*/*.json; do echo $file; check-jsonschema
|
|
435
|
+
$file --schemafile $(module-qc-tools --prefix)/schema/common.json; done
|
|
436
|
+
- for file in Measurements/LP_MODE/*/*.json; do echo $file; check-jsonschema
|
|
437
|
+
$file --schemafile $(module-qc-tools --prefix)/schema/LP_MODE.json; done
|
|
438
|
+
artifacts:
|
|
439
|
+
paths:
|
|
440
|
+
- Measurements/LP_MODE/*/*.json
|
|
441
|
+
expire_in: 1 day
|
|
442
|
+
|
|
443
|
+
OVERVOLTAGE_PROTECTION:
|
|
444
|
+
extends: .test
|
|
445
|
+
script:
|
|
446
|
+
- python -m pip install check-jsonschema
|
|
447
|
+
- python3 -m pip install .
|
|
448
|
+
- echo "Running OVERVOLTAGE_PROTECTION with toy emulator..."
|
|
449
|
+
- measurement-OVERVOLTAGE-PROTECTION -c $(module-qc-tools
|
|
450
|
+
--prefix)/configs/emulator_merged_vmux.json -o ./ --site TEST
|
|
451
|
+
- for file in Measurements/OVERVOLTAGE_PROTECTION/*/*.json; do echo $file;
|
|
452
|
+
check-jsonschema $file --schemafile $(module-qc-tools
|
|
453
|
+
--prefix)/schema/common.json; done
|
|
454
|
+
- for file in Measurements/OVERVOLTAGE_PROTECTION/*/*.json; do echo $file;
|
|
455
|
+
check-jsonschema $file --schemafile $(module-qc-tools
|
|
456
|
+
--prefix)/schema/OVERVOLTAGE_PROTECTION.json; done
|
|
457
|
+
artifacts:
|
|
458
|
+
paths:
|
|
459
|
+
- Measurements/OVERVOLTAGE_PROTECTION/*/*.json
|
|
460
|
+
expire_in: 1 day
|
|
461
|
+
|
|
462
|
+
OVERVOLTAGE_PROTECTION-ADC:
|
|
463
|
+
extends: .test
|
|
464
|
+
script:
|
|
465
|
+
- python -m pip install check-jsonschema
|
|
466
|
+
- python3 -m pip install .
|
|
467
|
+
- echo "Running OVERVOLTAGE_PROTECTION with toy emulator and calibrated
|
|
468
|
+
ADC..."
|
|
469
|
+
- measurement-OVERVOLTAGE-PROTECTION -c $(module-qc-tools
|
|
470
|
+
--prefix)/configs/emulator_merged_vmux.json -o ./ --site TEST
|
|
471
|
+
--use-calib-adc
|
|
472
|
+
- for file in Measurements/OVERVOLTAGE_PROTECTION/*/*.json; do echo $file;
|
|
473
|
+
check-jsonschema $file --schemafile $(module-qc-tools
|
|
474
|
+
--prefix)/schema/common.json; done
|
|
475
|
+
- for file in Measurements/OVERVOLTAGE_PROTECTION/*/*.json; do echo $file;
|
|
476
|
+
check-jsonschema $file --schemafile $(module-qc-tools
|
|
477
|
+
--prefix)/schema/OVERVOLTAGE_PROTECTION.json; done
|
|
478
|
+
artifacts:
|
|
479
|
+
paths:
|
|
480
|
+
- Measurements/OVERVOLTAGE_PROTECTION/*/*.json
|
|
481
|
+
expire_in: 1 day
|
|
482
|
+
|
|
483
|
+
OVERVOLTAGE_PROTECTION-DISABLED:
|
|
484
|
+
extends: .test
|
|
485
|
+
script:
|
|
486
|
+
- python -m pip install check-jsonschema
|
|
487
|
+
- python3 -m pip install .
|
|
488
|
+
- echo "Running OVERVOLTAGE_PROTECTION with toy emulator and disabled
|
|
489
|
+
chip..."
|
|
490
|
+
- measurement-OVERVOLTAGE-PROTECTION -c $(module-qc-tools
|
|
491
|
+
--prefix)/configs/emulator_merged_vmux.json -o ./ --site TEST -m
|
|
492
|
+
$(module-qc-tools
|
|
493
|
+
--prefix)/emulator/configs/connectivity/20UPGXM1234567_Lx_dummy_disabledchip.json
|
|
494
|
+
- for file in Measurements/OVERVOLTAGE_PROTECTION/*/*.json; do echo $file;
|
|
495
|
+
check-jsonschema $file --schemafile $(module-qc-tools
|
|
496
|
+
--prefix)/schema/common.json; done
|
|
497
|
+
- for file in Measurements/OVERVOLTAGE_PROTECTION/*/*.json; do echo $file;
|
|
498
|
+
check-jsonschema $file --schemafile $(module-qc-tools
|
|
499
|
+
--prefix)/schema/OVERVOLTAGE_PROTECTION.json; done
|
|
500
|
+
artifacts:
|
|
501
|
+
paths:
|
|
502
|
+
- Measurements/OVERVOLTAGE_PROTECTION/*/*.json
|
|
503
|
+
expire_in: 1 day
|
|
504
|
+
|
|
505
|
+
UNDERSHUNT_PROTECTION:
|
|
506
|
+
extends: .test
|
|
507
|
+
script:
|
|
508
|
+
- python -m pip install check-jsonschema
|
|
509
|
+
- python3 -m pip install .
|
|
510
|
+
- echo "Running UNDERSHUNT_PROTECTION with toy emulator..."
|
|
511
|
+
- measurement-UNDERSHUNT-PROTECTION -c $(module-qc-tools
|
|
512
|
+
--prefix)/configs/emulator_merged_vmux.json -o ./ --site TEST
|
|
513
|
+
- for file in Measurements/UNDERSHUNT_PROTECTION/*/*.json; do echo $file;
|
|
514
|
+
jsonschema --instance $file $(module-qc-tools
|
|
515
|
+
--prefix)/schema/common.json; done
|
|
516
|
+
- for file in Measurements/UNDERSHUNT_PROTECTION/*/*.json; do echo $file;
|
|
517
|
+
jsonschema --instance $file $(module-qc-tools
|
|
518
|
+
--prefix)/schema/UNDERSHUNT_PROTECTION.json; done
|
|
519
|
+
artifacts:
|
|
520
|
+
paths:
|
|
521
|
+
- Measurements/UNDERSHUNT_PROTECTION/*/*.json
|
|
522
|
+
expire_in: 1 day
|
|
523
|
+
|
|
524
|
+
UNDERSHUNT_PROTECTION-ADC:
|
|
525
|
+
extends: .test
|
|
526
|
+
script:
|
|
527
|
+
- python -m pip install check-jsonschema
|
|
528
|
+
- python3 -m pip install .
|
|
529
|
+
- echo "Running UNDERSHUNT_PROTECTION with toy emulator and calibrated
|
|
530
|
+
ADC..."
|
|
531
|
+
- measurement-UNDERSHUNT-PROTECTION -c $(module-qc-tools
|
|
532
|
+
--prefix)/configs/emulator_merged_vmux.json -o ./ --site TEST
|
|
533
|
+
--use-calib-adc
|
|
534
|
+
- for file in Measurements/UNDERSHUNT_PROTECTION/*/*.json; do echo $file;
|
|
535
|
+
jsonschema --instance $file $(module-qc-tools
|
|
536
|
+
--prefix)/schema/common.json; done
|
|
537
|
+
- for file in Measurements/UNDERSHUNT_PROTECTION/*/*.json; do echo $file;
|
|
538
|
+
jsonschema --instance $file $(module-qc-tools
|
|
539
|
+
--prefix)/schema/UNDERSHUNT_PROTECTION.json; done
|
|
540
|
+
artifacts:
|
|
541
|
+
paths:
|
|
542
|
+
- Measurements/UNDERSHUNT_PROTECTION/*/*.json
|
|
543
|
+
expire_in: 1 day
|
|
544
|
+
|
|
545
|
+
UNDERSHUNT_PROTECTION-DISABLED:
|
|
546
|
+
extends: .test
|
|
547
|
+
script:
|
|
548
|
+
- python -m pip install check-jsonschema
|
|
549
|
+
- python3 -m pip install .
|
|
550
|
+
- echo "Running UNDERSHUNT_PROTECTION with toy emulator and disabled
|
|
551
|
+
chip..."
|
|
552
|
+
- measurement-UNDERSHUNT-PROTECTION -c $(module-qc-tools
|
|
553
|
+
--prefix)/configs/emulator_merged_vmux.json -o ./ --site TEST -m
|
|
554
|
+
$(module-qc-tools
|
|
555
|
+
--prefix)/emulator/configs/connectivity/20UPGXM1234567_Lx_dummy_disabledchip.json
|
|
556
|
+
- for file in Measurements/UNDERSHUNT_PROTECTION/*/*.json; do echo $file;
|
|
557
|
+
jsonschema --instance $file $(module-qc-tools
|
|
558
|
+
--prefix)/schema/common.json; done
|
|
559
|
+
- for file in Measurements/UNDERSHUNT_PROTECTION/*/*.json; do echo $file;
|
|
560
|
+
jsonschema --instance $file $(module-qc-tools
|
|
561
|
+
--prefix)/schema/UNDERSHUNT_PROTECTION.json; done
|
|
562
|
+
artifacts:
|
|
563
|
+
paths:
|
|
564
|
+
- Measurements/UNDERSHUNT_PROTECTION/*/*.json
|
|
565
|
+
expire_in: 1 day
|
|
566
|
+
|
|
567
|
+
IV_MEASURE:
|
|
568
|
+
extends: .test
|
|
569
|
+
script:
|
|
570
|
+
- python -m pip install check-jsonschema
|
|
571
|
+
- python3 -m pip install .
|
|
572
|
+
- echo "Running IV-MEASURE with toy emulator..."
|
|
573
|
+
- measurement-IV-MEASURE -c $(module-qc-tools
|
|
574
|
+
--prefix)/configs/emulator_merged_vmux.json -o ./ --site TEST
|
|
575
|
+
- for file in Measurements/IV_MEASURE/*/*.json; do echo $file;
|
|
576
|
+
check-jsonschema $file --schemafile $(module-qc-tools
|
|
577
|
+
--prefix)/schema/common.json; done
|
|
578
|
+
- for file in Measurements/IV_MEASURE/*/*.json; do echo $file;
|
|
579
|
+
check-jsonschema $file --schemafile $(module-qc-tools
|
|
580
|
+
--prefix)/schema/IV_MEASURE.json; done
|
|
581
|
+
artifacts:
|
|
582
|
+
paths:
|
|
583
|
+
- Measurements/IV_MEASURE/*/*.json
|
|
584
|
+
expire_in: 1 day
|
|
585
|
+
|
|
586
|
+
DATA_TRANSMISSION:
|
|
587
|
+
extends: .test
|
|
588
|
+
script:
|
|
589
|
+
- python -m pip install check-jsonschema
|
|
590
|
+
- python3 -m pip install .
|
|
591
|
+
- echo "Running DATA_TRANSMISSION with toy emulator..."
|
|
592
|
+
- measurement-DATA-TRANSMISSION -c $(module-qc-tools
|
|
593
|
+
--prefix)/configs/emulator_merged_vmux.json -o ./ --site TEST
|
|
594
|
+
- for file in Measurements/DATA_TRANSMISSION/*/*.json; do echo $file;
|
|
595
|
+
jsonschema --instance $file $(module-qc-tools
|
|
596
|
+
--prefix)/schema/common.json; done
|
|
597
|
+
- for file in Measurements/DATA_TRANSMISSION/*/*.json; do echo $file;
|
|
598
|
+
jsonschema --instance $file $(module-qc-tools
|
|
599
|
+
--prefix)/schema/DATA_TRANSMISSION.json; done
|
|
600
|
+
artifacts:
|
|
601
|
+
paths:
|
|
602
|
+
- Measurements/DATA_TRANSMISSION/*/*.json
|
|
603
|
+
expire_in: 1 day
|
|
604
|
+
|
|
605
|
+
DATA_TRANSMISSION-DISABLED:
|
|
606
|
+
extends: .test
|
|
607
|
+
script:
|
|
608
|
+
- python -m pip install check-jsonschema
|
|
609
|
+
- python3 -m pip install .
|
|
610
|
+
- echo "Running DATA_TRANSMISSION with toy emulator and disabled chip..."
|
|
611
|
+
- measurement-DATA-TRANSMISSION -c $(module-qc-tools
|
|
612
|
+
--prefix)/configs/emulator_merged_vmux.json -o ./ --site TEST -m
|
|
613
|
+
$(module-qc-tools
|
|
614
|
+
--prefix)/emulator/configs/connectivity/20UPGXM1234567_Lx_dummy_disabledchip.json
|
|
615
|
+
- for file in Measurements/DATA_TRANSMISSION/*/*.json; do echo $file;
|
|
616
|
+
jsonschema --instance $file $(module-qc-tools
|
|
617
|
+
--prefix)/schema/common.json; done
|
|
618
|
+
- for file in Measurements/DATA_TRANSMISSION/*/*.json; do echo $file;
|
|
619
|
+
jsonschema --instance $file $(module-qc-tools
|
|
620
|
+
--prefix)/schema/DATA_TRANSMISSION.json; done
|
|
621
|
+
artifacts:
|
|
622
|
+
paths:
|
|
623
|
+
- Measurements/DATA_TRANSMISSION/*/*.json
|
|
624
|
+
expire_in: 1 day
|
|
625
|
+
|
|
626
|
+
LONG_TERM_STABILITY_DCS:
|
|
627
|
+
extends: .test
|
|
628
|
+
script:
|
|
629
|
+
- python -m pip install check-jsonschema
|
|
630
|
+
- python3 -m pip install .
|
|
631
|
+
- echo "Running LONG-TERM-STABILITY-DCS with toy emulator..."
|
|
632
|
+
- measurement-LONG-TERM-STABILITY-DCS -c $(module-qc-tools
|
|
633
|
+
--prefix)/configs/emulator_merged_vmux.json -o ./ --site TEST
|
|
634
|
+
- for file in Measurements/LONG_TERM_STABILITY_DCS/*/*.json; do echo $file;
|
|
635
|
+
check-jsonschema $file --schemafile $(module-qc-tools
|
|
636
|
+
--prefix)/schema/common.json; done
|
|
637
|
+
- for file in Measurements/LONG_TERM_STABILITY_DCS/*/*.json; do echo $file;
|
|
638
|
+
check-jsonschema $file --schemafile $(module-qc-tools
|
|
639
|
+
--prefix)/schema/LONG_TERM_STABILITY_DCS.json; done
|
|
640
|
+
artifacts:
|
|
641
|
+
paths:
|
|
642
|
+
- Measurements/IV_MEASURE/*/*.json
|
|
643
|
+
expire_in: 1 day
|
|
644
|
+
|
|
645
|
+
make-docs:
|
|
646
|
+
stage: test
|
|
647
|
+
image: python:3.11-bullseye
|
|
648
|
+
rules:
|
|
649
|
+
- if: $CI_PIPELINE_SOURCE == "push"
|
|
650
|
+
script: pipx run hatch run docs:build-check
|
|
651
|
+
|
|
652
|
+
package:
|
|
653
|
+
stage: build
|
|
654
|
+
rules:
|
|
655
|
+
- if: $CI_PIPELINE_SOURCE == "push"
|
|
656
|
+
script:
|
|
657
|
+
- pipx run hatch run build-check
|
|
658
|
+
artifacts:
|
|
659
|
+
paths:
|
|
660
|
+
- dist/
|
|
661
|
+
expire_in: 1 day
|
|
662
|
+
|
|
663
|
+
.deploy_package:
|
|
664
|
+
stage: deploy
|
|
665
|
+
dependencies:
|
|
666
|
+
- package
|
|
667
|
+
script:
|
|
668
|
+
- pipx run hatch run upload
|
|
669
|
+
|
|
670
|
+
deploy_package_gitlab:
|
|
671
|
+
extends: .deploy_package
|
|
672
|
+
rules:
|
|
673
|
+
- if:
|
|
674
|
+
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "push"
|
|
675
|
+
variables:
|
|
676
|
+
TWINE_REPOSITORY_URL: "https://gitlab.cern.ch/api/v4/projects/${CI_PROJECT_ID}/packages/pypi"
|
|
677
|
+
TWINE_USERNAME: "gitlab-ci-token"
|
|
678
|
+
TWINE_PASSWORD: "${CI_JOB_TOKEN}"
|
|
679
|
+
|
|
680
|
+
deploy_package_pypi:
|
|
681
|
+
extends: .deploy_package
|
|
682
|
+
only:
|
|
683
|
+
- tags
|
|
684
|
+
variables:
|
|
685
|
+
TWINE_REPOSITORY: pypi
|
|
686
|
+
TWINE_USERNAME: __token__
|
|
687
|
+
TWINE_PASSWORD: $PYPI_TOKEN
|
|
688
|
+
|
|
689
|
+
deploy_docs_dev:
|
|
690
|
+
stage: deploy
|
|
691
|
+
resource_group: documentation
|
|
692
|
+
rules:
|
|
693
|
+
- if:
|
|
694
|
+
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "push"
|
|
695
|
+
script:
|
|
696
|
+
# the next three lines are just to commit and push pages to the project
|
|
697
|
+
- git config --global user.email
|
|
698
|
+
"project_139533_bot_52a0e9bbb1570326242e61cb6cd9d917@noreply.gitlab.cern.ch"
|
|
699
|
+
- git config --global user.name "pre-commit-ci"
|
|
700
|
+
- git remote set-url origin
|
|
701
|
+
"https://__pre-commit_ci_token:${PRE_COMMIT_CI_JOB_TOKEN}@${CI_SERVER_HOST}:${CI_SERVER_PORT}/${CI_PROJECT_PATH}.git"
|
|
702
|
+
# this is the script
|
|
703
|
+
- pipx run hatch run docs:deploy dev
|
|
704
|
+
|
|
705
|
+
deploy_docs_latest:
|
|
706
|
+
stage: deploy
|
|
707
|
+
resource_group: documentation
|
|
708
|
+
only:
|
|
709
|
+
- tags
|
|
710
|
+
script:
|
|
711
|
+
# the next three lines are just to commit and push pages to the project
|
|
712
|
+
- git config --global user.email
|
|
713
|
+
"project_139533_bot_52a0e9bbb1570326242e61cb6cd9d917@noreply.gitlab.cern.ch"
|
|
714
|
+
- git config --global user.name "pre-commit-ci"
|
|
715
|
+
- git remote set-url origin
|
|
716
|
+
"https://__pre-commit_ci_token:${PRE_COMMIT_CI_JOB_TOKEN}@${CI_SERVER_HOST}:${CI_SERVER_PORT}/${CI_PROJECT_PATH}.git"
|
|
717
|
+
# this is the script
|
|
718
|
+
- VERSION=$(cut -d '.' -f 1,2 <<< "${CI_COMMIT_TAG}")
|
|
719
|
+
- IS_LATEST=$([[ "${CI_COMMIT_TAG}" == *"rc"* ]] && echo "" || echo
|
|
720
|
+
"latest")
|
|
721
|
+
- echo "Building and deploying docs for ${VERSION}"
|
|
722
|
+
- pipx run hatch run docs:deploy "${VERSION}" ${IS_LATEST:+"$IS_LATEST"}
|