Skip to content

Merge pull request #6 from Wazzabeee/dependabot/pip/black-24.3.0 #17

Merge pull request #6 from Wazzabeee/dependabot/pip/black-24.3.0

Merge pull request #6 from Wazzabeee/dependabot/pip/black-24.3.0 #17

Workflow file for this run

name: CI Pipeline
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
name: Do the tests pass?
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.11.5
- name: Install dependencies and run tests
run: |
sudo apt-get update && sudo apt-get install -y libgomp1
pip install -r requirements.txt
pip install pytest
pytest tests/
good-practices:
runs-on: ubuntu-latest
name: Do the code respects Python standards?
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.11.5
- name: Install dependencies and run linters
run: |
pip install -r requirements_lint.txt
pip install -r requirements.txt
black . --line-length=120 --check --verbose
flake8
pylint scripts/ --rcfile=setup.cfg --fail-under=9
mypy -p scripts --ignore-missing-imports --disallow-incomplete-defs
continue-on-error: true