-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #331 from naik-aakash/update_calc_quality
Update calc quality and fingerprints usage
- Loading branch information
Showing
7 changed files
with
162 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,11 +17,11 @@ jobs: | |
|
||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.9" | ||
python-version: "3.10" | ||
cache: pip | ||
cache-dependency-path: pyproject.toml | ||
|
||
- uses: pre-commit/[email protected].0 | ||
- uses: pre-commit/[email protected].1 | ||
|
||
test: | ||
runs-on: ubuntu-latest | ||
|
@@ -31,7 +31,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.9", "3.10", "3.11", "3.12"] | ||
python-version: ["3.10", "3.11", "3.12"] | ||
split: [1, 2, 3, 4, 5, 6] | ||
|
||
|
||
|
@@ -63,10 +63,12 @@ jobs: | |
pytest --cov=lobsterpy --cov-report term-missing --cov-append --splits 6 --group ${{ matrix.split }} -vv --durations-path ./tests/test_data/.pytest-split-durations | ||
- name: Upload coverage | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: coverage-${{ matrix.split }} | ||
path: .coverage | ||
name: coverage-${{ matrix.split }}-${{ matrix.python-version }} | ||
include-hidden-files: true | ||
overwrite: false | ||
path: ./.coverage | ||
|
||
coverage: | ||
needs: test | ||
|
@@ -84,12 +86,12 @@ jobs: | |
- name: Download coverage artifacts | ||
continue-on-error: true | ||
uses: actions/download-artifact@v3 | ||
uses: actions/download-artifact@v4 | ||
|
||
- name: Run coverage | ||
continue-on-error: true | ||
run: | | ||
coverage combine coverage*/.coverage* | ||
coverage combine coverage*/.coverage-*-3.10 | ||
coverage report --show-missing | ||
- name: Upload coverage reports to Codecov | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,17 +20,16 @@ authors = [{ name = "Janine George", email = "[email protected]" }] | |
version = "0.4.7" | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Science/Research", | ||
"Operating System :: OS Independent", | ||
] | ||
requires-python = ">=3.9,<3.13" | ||
requires-python = ">=3.10,<3.13" | ||
dependencies = [ | ||
"pymatgen>=2024.5.1", | ||
"pymatgen>=2024.9.10", | ||
"numpy<3.0.0", | ||
"typing", | ||
] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.