initializing 2016 triggers #224
Workflow file for this run
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
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_HIPM_nano_uhh_v12 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_2018_JMEnano_v9 import *" |