Skip to content

Custom UHH v14 campaigns for 2023. #806

Custom UHH v14 campaigns for 2023.

Custom UHH v14 campaigns for 2023. #806

name: Lint and test
on:
workflow_dispatch:
push:
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout ⬇️
uses: actions/checkout@v4
with:
persist-credentials: false
submodules: recursive
- name: Setup python 🐍
uses: actions/setup-python@v5
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 tests
test:
runs-on: ubuntu-latest
steps:
- name: Checkout ⬇️
uses: actions/checkout@v4
with:
persist-credentials: false
submodules: recursive
- name: Setup python 🐍
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install dependencies ☕️
run: |
pip install -U pip
pip install -r requirements_dev.txt
- name: Test Campaigns 🚦
run: python -m unittest tests