diff --git a/.coveralls.yml b/.coveralls.yml deleted file mode 100644 index 7a56699e7..000000000 --- a/.coveralls.yml +++ /dev/null @@ -1 +0,0 @@ -repo_token: RveV3eluajy2H7DcSypIy432u2T7rsPus diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 05ca8d3a3..3e401863c 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -133,9 +133,11 @@ jobs: pip install . --no-deps --no-build-isolation coverage run --omit="structuretoolkit/_version.py,tests/*" -m unittest discover tests coverage xml - - name: Coverage - if: matrix.label == 'linux-64-py-3-12' - uses: coverallsapp/github-action@v2 + - name: Upload coverage reports to Codecov + if: matrix.label == 'linux-64-py-3-12' + uses: codecov/codecov-action@v5 + with: + token: ${{ secrets.CODECOV_TOKEN }} unittest_old: needs: [black] @@ -171,4 +173,4 @@ jobs: run: gh pr merge --auto --squash "$PR_URL" env: PR_URL: ${{github.event.pull_request.html_url}} - GH_TOKEN: ${{secrets.GITHUB_TOKEN}} \ No newline at end of file + GH_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/README.md b/README.md index fde77f9af..1a2bf951e 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # structuretoolkit [![Pipeline](https://github.com/pyiron/structuretoolkit/actions/workflows/pipeline.yml/badge.svg)](https://github.com/pyiron/structuretoolkit/actions/workflows/pipeline.yml) -[![Coverage Status](https://coveralls.io/repos/github/pyiron/structuretoolkit/badge.svg?branch=main)](https://coveralls.io/github/pyiron/structuretoolkit?branch=main) +[![codecov](https://codecov.io/gh/pyiron/structuretoolkit/graph/badge.svg?token=B6I4OACKND)](https://codecov.io/gh/pyiron/structuretoolkit) Originally developed as part of the `pyiron_atomistics` module the `structuretoolkit` was release as standalone library for analysing, building and visualising atomistic structures. Internally it uses the `ase.atoms.Atoms` class to