Remove shlex.quote to fix issues when filenames have spaces (#38) #129
This file contains hidden or 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: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - master | |
| tags: | |
| - 'v*' | |
| jobs: | |
| checks: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: | |
| - "3.9" | |
| - "3.12" | |
| - "3.14" | |
| runs-on: | |
| - ubuntu-latest | |
| - macos-15-intel | |
| runs-on: ${{ matrix.runs-on }} | |
| name: Test • 🐍 ${{ matrix.python-version }} • ${{matrix.runs-on}} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install package | |
| run: python -m pip install .[test] "clang<19" | |
| - name: Test package | |
| run: python -m pytest --forked | |
| # Commented for now -- msys2 Clang (v15) and the clang Python package (v14) are incompatible | |
| # | |
| # checks_windows: | |
| # strategy: | |
| # fail-fast: false | |
| # matrix: | |
| # python-version: | |
| # - "3.8" | |
| # - "3.9" | |
| # runs-on: | |
| # - windows-latest | |
| # runs-on: ${{ matrix.runs-on }} | |
| # name: Test • 🐍 ${{ matrix.python-version }} • ${{matrix.runs-on}} | |
| # steps: | |
| # - uses: actions/checkout@v5 | |
| # - uses: actions/setup-python@v6 | |
| # with: | |
| # python-version: ${{ matrix.python-version }} | |
| # | |
| # - name: Install package | |
| # run: python -m pip install .[test] | |
| # | |
| # - name: Install clang | |
| # run: C:\msys64\usr\bin\pacman.exe -S clang64/mingw-w64-clang-x86_64-clang --noconfirm | |
| # | |
| # - name: Test package | |
| # env: | |
| # LIBCLANG_PATH: C:\msys64\clang64\bin\libclang.dll | |
| # run: python -m pytest -n2 | |
| dist: | |
| runs-on: ubuntu-latest | |
| name: Build distribution | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-python@v6 | |
| - name: Build | |
| run: pipx run build | |
| - uses: actions/upload-artifact@v5 | |
| with: | |
| name: DistPackage | |
| path: dist |