Skip to content

Commit

Permalink
Update pypi test action #24
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludee committed Dec 6, 2024
1 parent 244f255 commit 4df73c6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/publish_testpypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,21 @@ jobs:
with:
python-version: "3.10"

- name: Install
- name: Install pypa/build
run: >-
python -m
pip install
build
uv
--user
- name: Build a binary wheel and a source tarball
- name: Build binary wheel and source tarball
run: >-
python -m
uv build
build
--sdist
--wheel
--outdir dist/
- name: Publish distribution to Test PyPI
run: >-
uv publish
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TEST }}
repository_url: https://test.pypi.org/legacy/
5 changes: 4 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,18 @@
# SPDX-FileCopyrightText: 2023 Jonas Huber <https://github.com/jh-rli> © Reiner Lemoine Institut
# SPDX-License-Identifier: MIT

build
bump-my-version
mike
mkdocs
mkdocs-material
mkdocstrings
mkdocstrings-python-legacy
mike
pre-commit
pytest
pytest-cov
ruff
tox
twine
uv
wheel

0 comments on commit 4df73c6

Please sign in to comment.