Fix BOPfox testing #326
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 | |
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 |