Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docs #5

Merged
merged 7 commits into from
Feb 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,12 @@ jobs:
run: |
pip install --upgrade pip
pip install '.[dev]' --index-url https://gitlab.mpcdf.mpg.de/api/v4/projects/2187/packages/pypi/simple
: # we need the latest nomad version for testing
pip install --ignore-installed nomad-lab[infrastructure]@git+https://github.com/nomad-coe/nomad.git@develop
pip install --force-reinstall '.[tests]'
pip install coverage coveralls
- name: mypy
run: |
python -m mypy --ignore-missing-imports --follow-imports=silent --no-strict-optional runschema tests
- name: Test with pytest
continue-on-error: true
run: |
python -m coverage run -m pytest -sv tests
- name: Submit to coveralls
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mkdocs-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:

- name: Build and Deploy
run: |
mkdocs gh-deploy --force --remote-branch gh-pages
mkdocs gh-deploy --config-file ../nomad-schema-plugin-run/mkdocs.yml --force --remote-branch gh-pages
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ dev = [
"pytest-cov==2.7.1",
"ruff==0.1.4"
]
tests = [
# we need the latest nomad version for testing
"nomad-lab[infrastructure]@git+https://github.com/nomad-coe/nomad.git@develop"
]
[tool.ruff]
include = ["runschema/*.py", "tests/*.py"]

Expand Down
2 changes: 1 addition & 1 deletion tests/test_runschema.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
import runschema
from nomad.datamodel.metainfo import runschema


def test_schema():
Expand Down
Loading