849 Update NEXT100 PMT mapping according to latest changes at LSC #67
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will check the consistency between MySQL and SQLite databases | |
name: Calibration check | |
on: | |
push: | |
branches: [ master ] | |
paths: | |
- '**.sqlite3' | |
pull_request: | |
branches: [ master ] | |
paths: | |
- '**.sqlite3' | |
jobs: | |
build: | |
runs-on: [ubuntu-20.04] | |
strategy: | |
matrix: | |
python-version: [3.8] | |
steps: | |
- uses: actions/checkout@v2 | |
- id: files | |
uses: jitterbit/get-changed-files@v1 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Get LFS files | |
run: | | |
git lfs pull | |
- name: Install dependencies | |
run: | | |
pip install pymysql numpy pytest | |
- name: Check database | |
run: | | |
python invisible_cities/database/check_gain_update.py ${{ steps.files.outputs.all }} | |
env: | |
PYTHONPATH: "." |