add simplify jdata docs; fix and check example (#787) #1379
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
name: Python package | |
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.7, 3.8] | |
PYMATGEN_VERSION: [2019.1.13, 2019.7.30] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: pip install coverage codecov pymatgen==${{ matrix.PYMATGEN_VERSION }} . | |
- name: Test | |
run: coverage run --source=./dpgen -m unittest -v && coverage report | |
- run: codecov |