Skip to content

Add color to eyeball output headers #72

Add color to eyeball output headers

Add color to eyeball output headers #72

Workflow file for this run

name: Run Tests
on:
pull_request:
push:
branches: [master, main, dev]
jobs:
test:
name: Python ${{ matrix.python-version }} (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.10", "3.11", "3.12"]
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Display Python version (${{ matrix.python-version }})
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
# Skip for Windows; path setting there isn't worth the trouble
- name: Run eyeball tests
if: runner.os != 'Windows'
run: |
pip install termcolor
PYTHONPATH=. python tests/eyeball.py
- name: Test with pytest
run: |
pip install pytest
pytest tests/ --maxfail=3 --showlocals --color=yes -v