Skip to content

Merge pull request #53 from lidofinance/blockscholes-async-web3 #130

Merge pull request #53 from lidofinance/blockscholes-async-web3

Merge pull request #53 from lidofinance/blockscholes-async-web3 #130

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"