GitHub Actions integration for tests #2
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 | |
on: | |
- push | |
- pull_request | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: set up python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.12' | |
- name: install Python dependencies | |
run: pip install bandit flake8 pyright | |
- name: run flake8 | |
run: flake8 --show-source watson/ tests/ scripts/ |