Skip to content

Commit

Permalink
Merge pull request #74 from materialsproject/patch_wf
Browse files Browse the repository at this point in the history
Remove repeated installs in gh wf
  • Loading branch information
jmmshn authored Dec 20, 2022
2 parents 17861c1 + a77d0a6 commit c603180
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
./tests/test_files/** linguist-vendored
3 changes: 0 additions & 3 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit c603180

Please sign in to comment.