linting and formatting #159
Workflow file for this run
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
# This workflow will install Python dependencies, run pytests | |
name: ccdutils tests | |
on: push | |
jobs: | |
pytest: | |
name: Run unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: Set up python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- run: | | |
pip install rdkit | |
pip install -e ".[tests]" | |
pip install pre-commit | |
pre-commit install && pre-commit run --all | |
- run: pytest --cov=pdbeccdutils |