From ceb6473e02ed8d4f4bdb2c12c50b3f661db87941 Mon Sep 17 00:00:00 2001 From: "@jmmshn" Date: Mon, 19 Dec 2022 23:41:47 -0800 Subject: [PATCH 1/2] fixed gh wf --- .github/workflows/testing.yml | 3 --- pyproject.toml | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 37f54f0b..353cdb65 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -24,7 +24,6 @@ jobs: run: | python -m pip install --upgrade pip pip install -e .[strict] - pip install -e .[dev] pre-commit install - name: Lint @@ -52,7 +51,6 @@ jobs: run: | python -m pip install --upgrade pip pip install -e .[strict] - pip install -e .[tests] - name: Test run: pytest --cov=pymatgen --cov-report=xml @@ -84,7 +82,6 @@ jobs: - name: Install dependencies run: | pip install -e .[strict] - pip install -e .[docs] - name: Build run: jupyter-book build --path-output docs docs/source # Develop branch only diff --git a/pyproject.toml b/pyproject.toml index f664ce66..c3d4bb60 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,6 +35,10 @@ strict = [ "pymatgen==2022.11.7", "dscribe==1.2.2", "scikit-image==0.19.3", + "pytest==7.2.0", + "pytest-cov==4.0.0", + "jupyter-book==0.13.1", + "pre-commit==2.20.0", ] tests = ["pytest==7.2.0", "pytest-cov==4.0.0"] From a77d0a67aed9aa945f1e4858da9294ac51ffb11c Mon Sep 17 00:00:00 2001 From: "@jmmshn" Date: Mon, 19 Dec 2022 23:50:15 -0800 Subject: [PATCH 2/2] fixed liguist --- .gitattributes | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..2d69fe74 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +./tests/test_files/** linguist-vendored