Skip to content

remove m3gnet requirement #87

remove m3gnet requirement

remove m3gnet requirement #87

Workflow file for this run

name: testing
on:
push:
pull_request:
branches:
- master
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: pip
cache-dependency-path: pyproject.toml
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[strict,tests,with_m3gnet]
pip install prospector[with_mypy,with_bandit]
- name: Lint with prospector
run: |
prospector src/mpmorph
- name: Lint with black
run: |
black --check --diff --color src/mpmorph
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: pyproject.toml
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[strict,tests,with_m3gnet]
- name: Test
run: pytest