Skip to content

compatiblity with the newest version #687

compatiblity with the newest version

compatiblity with the newest version #687

Workflow file for this run

name: python
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install nomad-lab==1.0.8 --extra-index-url https://gitlab.mpcdf.mpg.de/api/v4/projects/2187/packages/pypi/simple
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install .[tests]
- name: pycodestyle
run: |
python -m pycodestyle --ignore=E501,E701,E731 *parsers tests
- name: pylint
run: |
python -m pylint --load-plugins=nomad.metainfo.pylint_plugin *parsers tests
- name: mypy
run: |
python -m mypy --ignore-missing-imports --follow-imports=silent --no-strict-optional *parsers tests
- name: Test with pytest
run: |
python -m pytest -sv tests