Skip to content

Merge pull request #54 from lidofinance/feat/bump-lib-version #133

Merge pull request #54 from lidofinance/feat/bump-lib-version

Merge pull request #54 from lidofinance/feat/bump-lib-version #133

Workflow file for this run

name: Tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Setup poetry
run: |
curl -sSL https://install.python-poetry.org/ | python - && echo "$HOME/.poetry/bin" >> $GITHUB_PATH
env:
POETRY_VERSION: 1.8.2
- name: Install dependencies
run: |
poetry install
- name: Test with pytest
run: |
poetry run pytest tests
- name: Test publish to pypi
uses: JRubics/[email protected]
with:
pypi_token: ${{ secrets.PYPI_TOKEN }}
poetry_publish_options: "--dry-run"