Skip to content

Remove trailing empty Text() objects that get displayed as newlines. #2

Remove trailing empty Text() objects that get displayed as newlines.

Remove trailing empty Text() objects that get displayed as newlines. #2

Workflow file for this run

name: tests
on:
push:
branches:
- main
pull_request:
jobs:
test:
timeout-minutes: 45
defaults:
run:
shell: bash
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest] #, macos-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python-version }}
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install library
run: |
pip install -e .
pip install pytest pytest-coverage
- name: Run tests
run: |
python -m pytest --cov=rich_rst --cov-report term --cov-report xml --junitxml=testresults.xml
coverage report