Skip to content

Commit

Permalink
GIT: update qual workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
anmorgunov committed May 31, 2024
1 parent f0dc8ee commit d7e8207
Showing 1 changed file with 30 additions and 3 deletions.
33 changes: 30 additions & 3 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,35 @@
name: Code Quality

on: [push, pull_request]

jobs:
ruff:
qualitycheck:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy torch rdkit pyyaml
pip install pytest pytest-cov
pip install mypy black isort ruff
- name : Run ruff
run: ruff check
- name: Run black
run: black --check .
- name: Run isort
run: isort --check --profile black .
- name: Run mypy
run: mypy --strict . --exclude=tests

- name: Run tests and collect coverage
run: pytest -v

0 comments on commit d7e8207

Please sign in to comment.