Skip to content

Merge pull request #94 from RAMP-project/tests #8

Merge pull request #94 from RAMP-project/tests

Merge pull request #94 from RAMP-project/tests #8

ame: Deploy to Test PyPi

Check failure on line 1 in .github/workflows/python-pypi-test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/python-pypi-test.yml

Invalid workflow file

The workflow is not valid. .github/workflows/python-pypi-test.yml (Line: 1, Col: 1): Unexpected value 'ame'
on:
push:
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:
python-version: "3.10"
- name: Install main dependencies
run: |
python -m pip install --upgrade pip twine setuptools wheel
- name: build distribution
run: |
python setup.py sdist bdist_wheel
- name: test install package
run: |
pip install -e .
- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip_existing: true
verbose: true
password: ${{ secrets.SHAFT_PYPI_TEST }}
repository_url: https://test.pypi.org/legacy/