Skip to content

Python 3 classes do not need to inherit from object #45

Python 3 classes do not need to inherit from object

Python 3 classes do not need to inherit from object #45

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04]
python-version: ["3.7", "3.10", "3.11", "3.12"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install pytest-cov
- name: Test
run: |
pytest --cov=. --cov-branch --cov-report=term --cov-report=xml -v test/test*.py
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}