Relax version requirement for torch (#55) #115
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: "Running tests: style, pytest" | |
on: [push, pull_request] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] | |
name: Style, pytest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: pip install -e .[dev,rdkit] | |
- name: Check black | |
run: python -m black --check --diff --color . | |
- name: Check isort | |
run: python -m isort --check --diff . | |
- name: Check flake8 | |
run: python -m flake8 . | |
- name: Run mypy | |
run: python -m mypy . | |
- name: Run pytests | |
run: python -m pytest |