From d7a6f13bb323dff41f35480e33e0cb43f7d6501b Mon Sep 17 00:00:00 2001 From: Alvin Noe Ladines Date: Tue, 20 Feb 2024 23:23:42 +0100 Subject: [PATCH] Change install action --- .github/workflows/actions.yaml | 3 ++- pyproject.toml | 5 +---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/actions.yaml b/.github/workflows/actions.yaml index dcf278e..754b329 100644 --- a/.github/workflows/actions.yaml +++ b/.github/workflows/actions.yaml @@ -12,8 +12,9 @@ jobs: - name: Install dependencies run: | pip install --upgrade pip + # we need the latest nomad version for testing + pip install nomad-lab[infrastructure]@git+https://github.com/nomad-coe/nomad.git@develop pip install '.[dev]' --index-url https://gitlab.mpcdf.mpg.de/api/v4/projects/2187/packages/pypi/simple - pip install --force-reinstall '.[tests]' pip install coverage coveralls - name: mypy run: | diff --git a/pyproject.toml b/pyproject.toml index 8becd64..c97b472 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,10 +24,7 @@ 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"]