Skip to content

Fix BOPfox testing #325

Fix BOPfox testing

Fix BOPfox testing #325

Workflow file for this run

name: python
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Check out nomad
uses: actions/checkout@v3
with:
repository: nomad-coe/nomad
path: nomad
submodules: true
- name: Install dependencies
run: |
pip install --upgrade pip
pip install .[dev]
pip install ./nomad[parsing,infrastructure]
- 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
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: chartboost/ruff-action@v1