Skip to content

Commit

Permalink
just test build to avoid testpypi token issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Ariana Barzinpour committed Nov 12, 2024
1 parent 5081694 commit 0c46f5d
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,15 @@ jobs:
with:
fail_ci_if_error: false

test-pypi:
name: Upload to TestPyPI
test-build:
name: Test build
runs-on: ubuntu-latest
needs:
- integration-tests
if: |
github.event_name == 'push'
&& needs.integration-tests.result == 'success'
environment:
name: testpypi
url: https://test.pypi.org/p/eodatasets3

permissions:
id-token: write

steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand All @@ -63,8 +56,3 @@ jobs:
- name: Build package
run: |
python setup.py sdist bdist_wheel # Could also be python -m build
- name: Publish package distributions to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/

0 comments on commit 0c46f5d

Please sign in to comment.