Update tests.yaml #29
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: Run Tests & Linting | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
pip install pytest flake8 black mypy pylint | |
# - name: Run Tests | |
# run: pytest tests/ | |
- name: Run Linter (Flake8) | |
run: flake8 app/ | |
continue-on-error: true | |
- name: Run Code Formatter (Black) | |
run: black --check app/ | |
continue-on-error: true | |
- name: Run Type Checker (Mypy) | |
run: mypy app/ | |
continue-on-error: true | |
- name: Run Linter (Pylint) | |
run: pylint app/ | |
continue-on-error: true |