Skip to content

Raise a RpcError rather than a ValueError #162

Raise a RpcError rather than a ValueError

Raise a RpcError rather than a ValueError #162

Workflow file for this run

name: Run Python tests
on:
push:
pull_request:
branches: [master]
jobs:
build:
name: Run tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
# This action provides the following functionality for GitHub Actions users:
# * Installing a version of Python or PyPy and (by default) adding it to the PATH
# * Optionally caching dependencies for pip, pipenv and poetry
# * Registering problem matchers for error output
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip3 install -e .
pip3 install ".[test]"
- name: pytest
run: |
pytest