Skip to content

Commit d64ce8c

Browse files
committed
update workflows
1 parent a4df291 commit d64ce8c

File tree

2 files changed

+8
-17
lines changed

2 files changed

+8
-17
lines changed

.github/workflows/cd.yml

+4-9
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,7 @@ jobs:
1414
with:
1515
fetch-depth: 0
1616

17-
- name: Build SDist and wheel
18-
run: pipx run build
19-
20-
- uses: actions/upload-artifact@v4
21-
with:
22-
path: dist/*
23-
24-
- name: Check metadata
25-
run: pipx run twine check dist/*
17+
- uses: hynek/build-and-inspect-python-package@v2
2618

2719
publish:
2820
needs: [dist]
@@ -40,4 +32,7 @@ jobs:
4032
name: artifact
4133
path: dist
4234

35+
- name: List distributions to be deployed
36+
run: ls -l dist/
37+
4338
- uses: pypa/gh-action-pypi-publish@release/v1

.github/workflows/ci.yml

+4-8
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,16 @@ jobs:
3838
allow-prereleases: true
3939

4040
- name: Install removestar (lite)
41-
run: |
42-
python -m pip install -e ".[dev]"
41+
run: python -m pip install -e ".[dev]"
4342

4443
- name: Test removestar (lite)
45-
run: |
46-
pytest --cov=removestar . -vv
44+
run: pytest --cov=removestar . -vv
4745

4846
- name: Install removestar (nb)
49-
run: |
50-
python -m pip install -e ".[dev,nb]"
47+
run: python -m pip install -e ".[dev,nb]"
5148

5249
- name: Test removestar (nb)
53-
run: |
54-
pytest --cov=removestar . -vv
50+
run: pytest --cov=removestar . -vv
5551

5652
- name: Upload coverage report
5753
uses: codecov/[email protected]

0 commit comments

Comments
 (0)