Skip to content

Try to add omit settings to unittest.yaml #493

Try to add omit settings to unittest.yaml

Try to add omit settings to unittest.yaml #493

Workflow file for this run

name: Bitcoinlib Tests Ubuntu
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.8", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
architecture: 'x64'
- name: Install dependencies
run: |
python -m pip install .[dev]
- name: Test with coverage
env:
BCL_CONFIG_FILE: ${{ github.workspace }}/tests/config.ini.unittest
run: coverage run --source=bitcoinlib -m unittest -v --omit="*/tools/*"
- name: Coveralls Parallel
uses: coverallsapp/github-action@v2
with:
parallel: true
flag-name: run-${{ join(matrix.*, '-') }}
github-token: ${{ github.token }}
coveralls_finish:
needs: test
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@v2
with:
parallel-finished: true
debug: true
carryforward: "run-3.8,run-3.11,run-3.12"