Skip to content

Commit

Permalink
Merge pull request #176 from pledge4future/fix/prod-pipeline
Browse files Browse the repository at this point in the history
fix: adjust prod pipeline config
  • Loading branch information
codingfabi authored May 5, 2024
2 parents 8a67f18 + d33bb15 commit edb843e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit edb843e

Please sign in to comment.