241 consolidate data and app services #2
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: Check CI scripts | |
on: | |
pull_request: | |
branches: [ main ] | |
paths: | |
- '.github/scripts/**' | |
push: | |
branches: [ main ] | |
paths: | |
- '.github/scripts/**' | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
pip install black flake8 pytest mypy | |
python --version | |
- name: Lint with Black | |
working-directory: .github/scripts | |
run: black --check . | |
- name: Lint with Flake8 | |
working-directory: .github/scripts | |
run: flake8 --count --show-source --statistics . | |
- name: Check with mypy | |
working-directory: .github/scripts | |
run: mypy --exclude '/*_test\.py$' . | |
- name: Test with Pytest | |
working-directory: .github/scripts | |
run: pytest *.py |