Skip to content

test: Added tests for async methods #12

test: Added tests for async methods

test: Added tests for async methods #12

Workflow file for this run

name: Run unit tests
on:
push:
branches:
- '*'
paths:
- 'eth_2_key_manager_api_client/**'
pull_request:
branches:
- master
paths:
- 'eth_2_key_manager_api_client/**'
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: install poetry
run: pip install poetry
- name: Configure Poetry
run: poetry config virtualenvs.in-project true
- name: Install dependencies
run: poetry install
- name: Run unit tests with pytest
run: poetry run python -m pytest tests/unit/