Raise a RpcError rather than a ValueError #152
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: Nigiri pipeline | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
integration: | |
name: Integration Tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.10"] | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Upgrade pip | |
run: | | |
python3 -m pip install --upgrade pip | |
- name: Install dependencies | |
run: | | |
pip3 install -e . | |
pip3 install ".[test]" | |
- name: Run Nigiri | |
uses: vulpemventures/nigiri-github-action@v1 | |
with: | |
use_liquid: false | |
- name: Run integration tests | |
run: | | |
pytest tests/integration/basics.py | |
pytest tests/integration/spectrum_test.py | |
pytest tests/integration/elsock_test.py | |