Add -i option to mimic GNU patch more and collect coverage for subprocesses #22
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: Main workflow | |
on: | |
push: | |
paths-ignore: | |
- 'doc/**' | |
- '**/*.md' | |
- 'LICENSE' | |
- 'example/**' | |
- '.gitignore' | |
workflow_dispatch: | |
pull_request: | |
paths-ignore: | |
- 'doc/**' | |
- '**/*.md' | |
- 'LICENSE' | |
- 'example/**' | |
- '.gitignore' | |
jobs: | |
linux-validate: | |
name: Validate on Linux - Python ${{ matrix.python }} | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
python: [ '3.6', '3.8', '3.12' ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
architecture: x64 | |
- name: Run tests | |
run: python tests/run_tests.py | |
windows-validate: | |
name: Validate on Windows - Python ${{ matrix.python }} | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
python: [ '3.6', '3.8', '3.12' ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
architecture: x64 | |
- name: Run tests | |
run: python tests/run_tests.py |