Skip to content

updates for typeguard 3 #36

updates for typeguard 3

updates for typeguard 3 #36

Workflow file for this run

name: autothread_functional_tests
on:
push:
branches:
- main
paths:
- autothread/**
- tests/**
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
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: |
python -m pip install --upgrade pip
pip install -r test-requirements.txt
- name: Lint with black
run: |
black --check autothread/ tests/
- name: Test multiprocessing
env:
AUTOTHREAD_UNITTEST_MODE: processing
run: |
python -m coverage run -m unittest
- name: Test threading
env:
AUTOTHREAD_UNITTEST_MODE: threading
run: |
python -m coverage run --append -m unittest
- name: Get Coverage
run: |
python -m coverage report --show-missing