Raise a RpcError rather than a ValueError (#54) #163
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |