Skip to content

Commit 93e22ff

Browse files
authored
upload codecov results in action.
1 parent 4ebbbf2 commit 93e22ff

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,16 @@ jobs:
4545
conda install --file requirements/run.txt
4646
conda install --file requirements/test.txt
4747
pip install -e .
48+
4849
- name: Validate diffpy.structure
4950
shell: bash -l {0}
5051
run: |
5152
conda activate test
5253
coverage run -m diffpy.structure.tests.run
5354
coverage report -m
5455
codecov
56+
57+
- name: Upload coverage to Codecov
58+
uses: codecov/codecov-action@v4
59+
env:
60+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)