Skip to content

Fixed test failures

Fixed test failures #3

Workflow file for this run

name: Publish
on:
push:
tags:
- 'v*'
jobs:
build:
name: Build and release the installable python package.
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
cache-dependency-path: |
setup.py
- name: Install poetry
run: |
python -m pip install poetry==1.8.2
- name: Init
run: make init-poetry
- name: Build
run: poetry build
- name: Publish
env:
USERNAME: ${{ secrets.PYPI_USERNAME }}
TOKEN: ${{ secrets.PYPI_TOKEN }}
run: poetry publish -u $USERNAME -p $TOKEN