Skip to content

fix version

fix version #218

Workflow file for this run

name: Python
on:
push:
paths:
- python/**
- server/**
- .github/workflows/python.yaml
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Copy readme
run: cp README.md python/README.md
- name: Prepare build
uses: JRubics/poetry-publish@v2.0
with:
pypi_token: ${{ secrets.PYPI_TOKEN }}
package_directory: "python"
poetry_publish_options: "--dry-run"
- name: Run tests
working-directory: "python"
run: pytest tests
- name: Build and publish to pypi
uses: JRubics/poetry-publish@v1.16
with:
pypi_token: ${{ secrets.PYPI_TOKEN }}
package_directory: "python"