mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-01-09 17:24:24 +01:00
ci: Add a flake8 linting job
This commit is contained in:
3
.github/workflows/unit_tests.yml
vendored
3
.github/workflows/unit_tests.yml
vendored
@@ -30,6 +30,9 @@ jobs:
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
|
||||
- name: Lint with flake8
|
||||
run: flake8 scripts/ tests/
|
||||
|
||||
- name: Run unittest tests with coverage
|
||||
run: |
|
||||
coverage run --source=scripts -m unittest discover tests
|
||||
|
||||
Reference in New Issue
Block a user