Skip to content

Commit 382c943

Browse files
committed
chore(ci): update codecov action configuration and clean up release workflow
1 parent 2618a8d commit 382c943

File tree

2 files changed

+2
-35
lines changed

2 files changed

+2
-35
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ jobs:
5656
if: matrix.python-version == '3.12'
5757
uses: codecov/codecov-action@v5
5858
with:
59-
file: ./coverage.xml
60-
fail_ci_if_error: false
59+
files: ./coverage.xml
6160
token: ${{ secrets.CODECOV_TOKEN }}
6261

6362
build-docker:

.github/workflows/release.yml

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -32,42 +32,10 @@ jobs:
3232
pip install pre-commit
3333
pre-commit run --all-files
3434
35-
- name: Install build tools
36-
run: pip install build
37-
38-
- name: Build distributions
39-
run: python -m build
40-
41-
- name: Upload distributions
42-
uses: actions/upload-artifact@v6
43-
with:
44-
name: release-dists
45-
path: dist/
46-
47-
pypi-publish:
48-
name: Publish to PyPI
49-
runs-on: ubuntu-latest
50-
needs: build
51-
permissions:
52-
id-token: write
53-
environment:
54-
name: pypi
55-
url: https://pypi.org/p/gha-failure-analysis
56-
57-
steps:
58-
- name: Download distributions
59-
uses: actions/download-artifact@v6
60-
with:
61-
name: release-dists
62-
path: dist/
63-
64-
- name: Publish to PyPI
65-
uses: pypa/gh-action-pypi-publish@release/v1
66-
6735
container-release:
6836
name: Release container image
6937
runs-on: ubuntu-latest
70-
needs: build
38+
needs: build # Wait for tests to pass
7139
permissions:
7240
contents: read
7341
packages: write

0 commit comments

Comments
 (0)