tpy.yaml - obelisk - Electrum server using libbitcoin as its backend
HTML git clone https://git.parazyd.org/obelisk
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
tpy.yaml (931B)
---
1 name: Python tests
2
3 on: [push]
4
5 jobs:
6 build:
7 runs-on: ubuntu-latest
8 strategy:
9 matrix:
10 python-version: [3.7, 3.8, 3.9]
11
12 steps:
13 - uses: actions/checkout@v2
14 - name: Set up Python ${{ matrix.python-version }}
15 uses: actions/setup-python@v2
16 with:
17 python-version: ${{ matrix.python-version }}
18 - name: Install dependencies
19 run: |
20 python -m pip install --upgrade pip
21 pip install pyzmq
22 pip install coverage
23 pip install -e .
24 - name: Run tests and make coverage report
25 run: |
26 make coverage
27 - name: Upload coverage report
28 uses: codecov/codecov-action@v1
29 with:
30 files: ./coverage.xml
31 flags: unittests
32 env_vars: OS,PYTHON
33 fail_ci_if_error: true
34 verbose: true