Bitcoinlib Tests Ubuntu #564
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 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@v5 | |
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 | |
- 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" |