Skip to content

Add pyproject.toml with dev extras #140

Add pyproject.toml with dev extras

Add pyproject.toml with dev extras #140

Workflow file for this run

name: Tests and coverage
on:
push:
branches:
- '**'
tags:
- '**'
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
fail-fast: false
max-parallel: 4
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- name: Checkout Code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Python environment
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install --upgrade pip
pip install coverage pytest mypy
- name: Run mypy type checker
run: |
mypy --config-file=mypy.ini pycoin
- name: Test core code with pytest
run: |
coverage run -m pytest tests