Skip to content

Handle cases where unknown %% magic command is preceded by empty lines #301

Handle cases where unknown %% magic command is preceded by empty lines

Handle cases where unknown %% magic command is preceded by empty lines #301

Workflow file for this run

name: Test
on:
push:
paths-ignore:
- "patches/**"
pull_request:
paths-ignore:
- "patches/**"
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true
jobs:
test:
if:
github.event_name == 'push' || github.event.pull_request.head.repo.full_name !=
github.repository
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest, macOS-latest, windows-latest]
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 tox
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade tox
- name: Unit tests
if: "!startsWith(matrix.python-version, 'pypy')"
run: tox -e ci-py -- -v --color=yes