Skip to content

Commit 6c6695d

Browse files
committed
Use trusted publisher for release
- see https://docs.pypi.org/trusted-publishers/
1 parent 80dbf9a commit 6c6695d

2 files changed

Lines changed: 11 additions & 6 deletions

File tree

.github/workflows/release-deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ jobs:
88

99
deploy:
1010
runs-on: ubuntu-latest
11+
environment: release
12+
permissions:
13+
id-token: write
1114
strategy:
1215
fail-fast: true
1316
matrix:
@@ -29,6 +32,3 @@ jobs:
2932
3033
- name: Publish package to PyPI
3134
uses: pypa/gh-action-pypi-publish@release/v1
32-
with:
33-
user: __token__
34-
password: ${{ secrets.PYPI_TOKEN }}

CHANGELOG.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,28 @@
11
# pytest-order Release Notes
22

3+
## Unreleased
4+
5+
### Infrastructure
6+
* use trusted publisher for release (see https://docs.pypi.org/trusted-publishers/)
7+
38
## [Version 1.3.0](https://pypi.org/project/pytest-order/1.3.0/) (2024-08-22)
49
Allows to fail tests that cannot be ordered.
510

611
### New features
712
- added option `--error-on-failed-ordering` to make tests that cannot be ordered fail
813
(see [#140](https://github.com/pytest-dev/pytest-order/issues/140))
914

10-
## Infrastructure
15+
### Infrastructure
1116
- added missing documentation examples, structured examples according to documentation structure
1217

1318
## [Version 1.2.1](https://pypi.org/project/pytest-order/1.2.1/) (2024-04-02)
1419
Bugfix release.
1520

16-
## Fixes
21+
### Fixes
1722
- handle dependency markers with the same alias name (see [#71](https://github.com/pytest-dev/pytest-order/issues/71))
1823
- specify rootdir to recursive pytest calls to avoid searching a large directory tree unnecessarily (see [#110](https://github.com/pytest-dev/pytest-order/issues/110))
1924

20-
## Infrastructure
25+
### Infrastructure
2126
- avoid unknown marker warning in tests (see [#101](https://github.com/pytest-dev/pytest-order/issues/101))
2227
- added pytest 8 to CI tests
2328

0 commit comments

Comments
 (0)