Skip to content

Commit c9e3a6f

Browse files
committed
adapt for public repo
1 parent efea250 commit c9e3a6f

File tree

17 files changed

+279
-441
lines changed

17 files changed

+279
-441
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,21 +36,24 @@ jobs:
3636
3737
- name: Test with pytest
3838
run: |
39-
pytest --cov --junitxml=junit.xml --cov-report=xml
39+
pytest --cov=src/ec_mlp tests --junitxml=junit.xml --cov-report=xml
4040
4141
- name: Upload coverage to Codecov
4242
uses: codecov/codecov-action@v5
4343
with:
4444
token: ${{ secrets.CODECOV_TOKEN }}
45-
slug: ChiahsinChu/ec-MLP
46-
file: ./coverage.xml
45+
slug: ${{ github.repository }}
46+
files: ./coverage.xml
47+
report_type: coverage
4748

4849
- name: Upload test results to Codecov
4950
if: ${{ !cancelled() }}
50-
uses: codecov/test-results-action@v1
51+
uses: codecov/codecov-action@v5
5152
with:
5253
token: ${{ secrets.CODECOV_TOKEN }}
53-
file: ./junit.xml
54+
slug: ${{ github.repository }}
55+
files: ./junit.xml
56+
report_type: test_results
5457

5558
- name: Build documentation
5659
run: |

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# README
22

3-
[![CI](https://github.com/chenggroup/ec-MLP/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/chenggroup/ec-MLP/actions/workflows/ci.yml) [![codecov](https://codecov.io/gh/chenggroup/ec-MLP/graph/badge.svg?token=9PXNT5XB7C)](https://codecov.io/gh/chenggroup/ec-MLP)
3+
[![CI](https://github.com/chenggroup/ec-MLP/actions/workflows/ci.yml/badge.svg)](https://github.com/chenggroup/ec-MLP/actions/workflows/ci.yml) [![codecov](https://codecov.io/gh/chenggroup/ec-MLP/graph/badge.svg?token=9PXNT5XB7C)](https://codecov.io/gh/chenggroup/ec-MLP)
44

55
DeepMD-kit plugin for ElectroChemical interfaces simulations.
66

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dynamic = ["version", "readme"]
1515
description = "ec-MLP: Machine Learning Potential for ElectroChemistry"
1616
license = { file = ".license-header.txt" }
1717
dependencies = [
18-
"deepmd-kit>=3.0.0",
18+
"deepmd-kit>=3.1.1",
1919
"torch>=2.1.0",
2020
"torchopt>=0.7.3",
2121
"numpy>=1.20.0, <2.0",

src/ec_mlp/pt/modifier/__init__.py

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/ec_mlp/pt/modifier/dipole_charge.py

Lines changed: 0 additions & 284 deletions
This file was deleted.

0 commit comments

Comments
 (0)