Skip to content

Commit 46d3f1d

Browse files
committed
trying new config 8
1 parent 54f7711 commit 46d3f1d

File tree

1 file changed

+5
-23
lines changed

1 file changed

+5
-23
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -34,26 +34,8 @@ jobs:
3434
run: |
3535
pdm run pytest --cov=fitbit_client --cov-report=xml:coverage.xml
3636
37-
- name: Debug environment information
38-
run: |
39-
echo "Repository: ${{ github.repository }}"
40-
echo "Slug: jpstroop/fitbit-client-python"
41-
echo "Working directory: $(pwd)"
42-
echo "GitHub ref: ${{ github.ref }}"
43-
echo "GitHub SHA: ${{ github.sha }}"
44-
ls -la
45-
ls -la .git || echo "No .git directory"
46-
47-
- name: Download and run Codecov uploader with debug
48-
run: |
49-
curl -Os https://uploader.codecov.io/latest/linux/codecov
50-
chmod +x codecov
51-
./codecov -t ${{ secrets.CODECOV_TOKEN }} \
52-
-f coverage.xml \
53-
-n "github-action" \
54-
-F github-action \
55-
-v \
56-
-R . \
57-
-C ${{ github.sha }} \
58-
-B ${{ github.ref_name }} \
59-
--slug jpstroop/fitbit-client-python
37+
- name: Upload coverage reports to Codecov
38+
uses: codecov/codecov-action@v5
39+
with:
40+
token: ${{ secrets.CODECOV_TOKEN }}
41+
slug: jpstroop/fitbit-client-python

0 commit comments

Comments
 (0)