Skip to content

Commit

Permalink
Revert "CD test"
Browse files Browse the repository at this point in the history
This reverts commit 62bc444.
  • Loading branch information
03bennej committed Dec 13, 2023
1 parent 62bc444 commit e82f34e
Showing 1 changed file with 1 addition and 31 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test and deploy
name: Tests

on:
push:
Expand Down Expand Up @@ -41,33 +41,3 @@ jobs:
- name: Test with tox
run: tox

deploy:
needs: tests
runs-on: ubuntu-latest
# if: github.event_name == 'push' && github.ref == 'refs/heads/main'

steps:
- name: Check out the repository
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.8'

- name: Install poetry
run: |
pip install poetry
- name: Install dependencies
run: |
poetry install
- name: Build and publish to Test PyPI
run: |
poetry config repositories.test-pypi https://test.pypi.org/legacy/
poetry config pypi-token.test-pypi ${{ secrets.TEST_PYPI_TOKEN }}
poetry publish --build

0 comments on commit e82f34e

Please sign in to comment.