refactor: separate printing and data handling functionality #59
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: Test | |
on: | |
- pull_request | |
- workflow_dispatch | |
jobs: | |
tests: | |
name: ${{ matrix.os.name }} ${{ matrix.python }} | |
runs-on: ${{ matrix.os.runs-on }} | |
strategy: | |
fail-fast: false | |
matrix: | |
python: | |
- "3.8" | |
- "3.9" | |
- "3.10" | |
- "3.11" | |
- "3.12" | |
- "3.13" | |
os: | |
- name: Linux | |
matrix: linux | |
runs-on: [ubuntu-latest] | |
- name: macOS | |
matrix: macos | |
runs-on: [macos-latest] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install pyallel | |
run: | | |
pip install pyallel==0.18.2 | |
- name: Install dev dependencies | |
run: | | |
pip install -r requirements_dev.txt | |
- name: Run pyallel | |
run: | | |
PYTHONPATH=./src pyallel "MYPY_FORCE_COLOR=1 mypy ." "pytest ." --colour yes |