From 5a9e1460194d0ce16f2dd23ef1ff80e8baa86da4 Mon Sep 17 00:00:00 2001 From: Casper Welzel Andersen Date: Thu, 24 Sep 2020 18:14:15 +0200 Subject: [PATCH] This should ensure requirements*.txt are tested By first installing the package and then from the requirements*.txt files this should ensure we test the correct versions when dependabot opens PRs. --- .github/workflows/deps_lint.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deps_lint.yml b/.github/workflows/deps_lint.yml index ce16aa75c..2f1dacb0c 100644 --- a/.github/workflows/deps_lint.yml +++ b/.github/workflows/deps_lint.yml @@ -50,9 +50,9 @@ jobs: run: | python -m pip install --upgrade pip pip install -U setuptools + pip install -e . pip install -r requirements.txt pip install -r requirements-dev.txt - pip install -e .[dev] - name: Run pre-commit run: | @@ -75,9 +75,9 @@ jobs: run: | python -m pip install --upgrade pip pip install -U setuptools + pip install -e . pip install -r requirements.txt pip install -r requirements-dev.txt - pip install -e . - name: Pass generated OpenAPI schemas through validator.swagger.io run: | @@ -171,9 +171,9 @@ jobs: run: | python -m pip install --upgrade pip pip install -U setuptools + pip install -e . pip install -r requirements.txt pip install -r requirements-dev.txt - pip install -e . - name: Run all tests (using a real MongoDB) run: pytest -rs -vvv --cov=./optimade/ --cov-report=xml tests/ @@ -235,9 +235,9 @@ jobs: run: | python -m pip install --upgrade pip pip install -U setuptools + pip install -e . pip install -r requirements.txt pip install -r requirements-docs.txt - pip install -e . - name: Build run: mkdocs build --strict --verbose