Skip to content

bump version

bump version #73

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: TestPyPI Deployment
# Controls when the action will run.
on:
push:
tags:
- '*'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more tap_jobs that can run sequentially or in parallel
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install poetry
run: |
python -m pip install --upgrade pip
pip install poetry
- name: Build
run: poetry build
- name: Publish distribution 📦 on TestPyPI
env:
POETRY_HTTP_BASIC_TESTPYPI_USERNAME: __token__
POETRY_HTTP_BASIC_TESTPYPI_PASSWORD: ${{ secrets.PYPI_TEST_TOKEN }}
run: |
poetry config repositories.testpypi https://test.pypi.org/legacy/
poetry publish -r testpypi
- name: Test install from TestPyPi
run: |
python -m pip install poetry
python -m pip install --no-deps --pre --index-url https://test.pypi.org/simple/ timewise
poetry install --no-root
poetry run python -c 'from timewise import WiseDataByVisit, ParentSampleBase'