[REF] Fix unittests with legacy witness type #262
Workflow file for this run
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: Bitcoinlib Unittests Coveralls Ubuntu | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python: ["3.8", "3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python }} | |
architecture: 'x64' | |
- name: Install dependencies | |
run: | | |
pip install coveralls | |
pip install psycopg2 | |
pip install mysql-connector | |
pip install mysqlclient | |
pip install parameterized | |
pip install scrypt | |
pip install Cython | |
python setup.py install | |
- name: Test with coverage | |
env: | |
BCL_CONFIG_FILE: config.ini.unittest | |
UNITTESTS_FULL_DATABASE_TEST: False | |
run: coverage run --source=bitcoinlib -m unittest -v | |
- name: Coveralls | |
uses: AndreMiras/coveralls-python-action@develop | |
with: | |
parallel: true | |
flag-name: Unit Test | |
debug: true | |
coveralls_finish: | |
needs: test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Coveralls Finished | |
uses: AndreMiras/coveralls-python-action@develop | |
with: | |
parallel-finished: true | |
debug: true |