Remove unused clang-format option #35
Workflow file for this run
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: tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- macos-13 | |
- macos-14 | |
- ubuntu-22.04 | |
- ubuntu-24.04 | |
python-version: | |
- '3.11' | |
- '3.12' | |
name: Python ${{ matrix.python-version }} on ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies (linux) | |
if: runner.os == 'Linux' | |
run: | | |
sudo apt install --fix-missing --yes libpoppler-cpp-dev pkg-config | |
pip install setuptools | |
- name: Install dependencies (macOS) | |
if: runner.os == 'macOS' | |
run: | | |
brew install pkg-config poppler | |
pip install setuptools | |
- name: Install | |
run: pip install --verbose --editable . | |
- name: Test | |
run: python -m unittest discover --verbose --start-directory tests | |
test_conda: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- macos-13 | |
- macos-14 | |
- ubuntu-24.04 | |
- windows-2022 | |
name: Conda on ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
auto-update-conda: true | |
channels: conda-forge | |
python-version: '3.12' | |
- name: Configure conda | |
shell: bash -l {0} | |
run: conda config --remove channels defaults | |
- name: Install dependencies | |
shell: bash -l {0} | |
run: conda install c-compiler cxx-compiler pkg-config poppler | |
- name: Install | |
shell: bash -l {0} | |
run: pip install --verbose --editable . | |
- name: Test | |
shell: bash -l {0} | |
run: python -m unittest discover --verbose --start-directory tests |