Skip to content

updates to the hbbhww processes #142

updates to the hbbhww processes

updates to the hbbhww processes #142

Workflow file for this run

name: Lint and test
on:
workflow_dispatch:
push:
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout ⬇️
uses: actions/checkout@master
with:
persist-credentials: false
submodules: recursive
- name: Setup python 🐍
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies ☕️
run: |
pip install -U pip
pip install -r requirements_dev.txt
- name: Lint 🔍
run: |
flake8 cmsdb scripts
test:
runs-on: ubuntu-latest
steps:
- name: Checkout ⬇️
uses: actions/checkout@master
with:
persist-credentials: false
submodules: recursive
- name: Setup python 🐍
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies ☕️
run: |
pip install -U pip
pip install -r requirements_dev.txt
- name: Test 🚦
run: |
python -c "from cmsdb.campaigns.run2_2016_nano_v9 import *"
python -c "from cmsdb.campaigns.run2_2017_nano_v9 import *"
python -c "from cmsdb.campaigns.run2_2018_nano_v9 import *"
python -c "from cmsdb.campaigns.run2_2017_nano_uhh_v11 import *"
python -c "from cmsdb.campaigns.run2_2018_nano_uhh_v11 import *"
python -c "from cmsdb.campaigns.run2_2017_JMEnano_v9 import *"
python -c "from cmsdb.campaigns.run2_2018_JMEnano_v9 import *"
python -c "from cmsdb.campaigns.run3_2022_preEE_nano_v11 import *"
python -c "from cmsdb.campaigns.run3_2022_postEE_nano_v11 import *"