Skip to content

Release 0.7.0

Release 0.7.0 #118

Workflow file for this run

name: test
on:
push:
branches: [ master, "release-*" ]
pull_request:
branches: [ master, "release-*" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements-test.txt
- name: Lint with black
run: |
black . --check
- name: Test with pytest
run: |
pytest
- name: Calculate Coverage
run: |
coverage run --source=betfairutil -m pytest
coverage lcov
coverage report
- name: Coveralls Parallel
uses: coverallsapp/github-action@master
with:
path-to-lcov: coverage.lcov
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: run-${{ matrix.test_number }}
parallel: true
finish:
needs: build
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true