Skip to content

GA: publish wheels (fixes #177) #155

GA: publish wheels (fixes #177)

GA: publish wheels (fixes #177) #155

Workflow file for this run

name: CI
on:
push:
pull_request:
schedule:
# run at 7:00 on the first of every month
- cron: '0 7 1 * *'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "pypy-3.7"
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 setuptools wheel "blessed>=1.5" cwcwidth "backports.cached-property; python_version < '3.9'" pyte pytest
- name: Build with Python ${{ matrix.python-version }}
run: |
python setup.py build
- name: Test with pytest
run: |
pytest -s --doctest-modules ./curtsies ./tests