Skip to content

Commit

Permalink
Merge pull request #97 from RAMP-project/test-pypy-action
Browse files Browse the repository at this point in the history
solving the test.pypi release issue #96
  • Loading branch information
FLomb authored Nov 8, 2023
2 parents 70368f7 + cda75e3 commit 38accd4
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/python-pypi-test.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
ame: Deploy to Test PyPi
name: Deploy to Test PyPi

on:
on:
push:
branches:
- development
- main

pull_request:
branches:
- development
- main
jobs:
build_and_deploy:
name: Build the release and deploy to test pypi
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master

- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
Expand All @@ -27,11 +32,11 @@ jobs:
- name: test install package
run: |
pip install -e .
- name: Publish distribution 📦 to Test PyPI
- name: Publish distribution 📦 to TestPyPI

uses: pypa/gh-action-pypi-publish@release/v1
with:
skip_existing: true
skip-existing: true
verbose: true
password: ${{ secrets.SHAFT_PYPI_TEST }}
repository_url: https://test.pypi.org/legacy/
password: ${{ secrets.RAMP_TEST}}
repository-url: https://test.pypi.org/legacy/

0 comments on commit 38accd4

Please sign in to comment.