Fix ODR issue in type_caster which could result in UB when -flto
is…
#1520
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: Coverage | |
on: | |
pull_request: | |
paths-ignore: | |
- 'doc/**' | |
- '.ci/**' | |
- '*.rst' | |
push: | |
branches: | |
- main | |
- develop | |
- beta/* | |
paths-ignore: | |
- 'doc/**' | |
- '.ci/**' | |
- '*.rst' | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: hendrikmuhs/ccache-action@v1.2 | |
with: | |
key: ${{ github.job }}-${{ matrix.os }}-${{ matrix.python-version }} | |
create-symlink: true | |
- uses: rui314/setup-mold@v1 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- uses: yezz123/setup-uv@v4 | |
- run: uv pip install --system nox | |
- run: nox -s cov | |
- uses: AndreMiras/coveralls-python-action@develop |