From d64b4588c9aaa84e7d96173d4a9f9c808c3b5a92 Mon Sep 17 00:00:00 2001 From: codingfabi Date: Sun, 5 May 2024 10:05:57 +0200 Subject: [PATCH 1/2] adjust prod pipeline config --- .github/workflows/ci-production.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-production.yml b/.github/workflows/ci-production.yml index 79877fc..6aa2672 100644 --- a/.github/workflows/ci-production.yml +++ b/.github/workflows/ci-production.yml @@ -34,9 +34,9 @@ jobs: path: ./.venv key: venv-${{ hashFiles('poetry.lock') }} - name: Install dependencies - run: poetry install --no-root --without dev + run: poetry install --no-root - name: Pytest - run: poetry run pytest -x --random-order + run: poetry run pytest -x build-and-publish: name: Build and publish Python distributions 📦 to PyPI and TestPyPI From d33bb151e5ea05bcb13bbaa1c69cd931c5bf0761 Mon Sep 17 00:00:00 2001 From: codingfabi Date: Sun, 5 May 2024 10:10:28 +0200 Subject: [PATCH 2/2] adjust secret name --- .github/workflows/ci-production.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-production.yml b/.github/workflows/ci-production.yml index 6aa2672..7aa520e 100644 --- a/.github/workflows/ci-production.yml +++ b/.github/workflows/ci-production.yml @@ -55,6 +55,6 @@ jobs: if: startsWith(github.ref, 'refs/tags') run: | poetry config repositories.testpypi https://test.pypi.org/legacy/ - poetry config pypi-token.testpypi ${{ secrets.TEST_PYPI_API_TOKEN }} + poetry config pypi-token.testpypi ${{ secrets.PYPI_TEST_TOKEN }} poetry build poetry publish -r testpypi