Depend on pandas>=2.1 and fix pandas>=3.0 #245
Workflow file for this run
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: Test | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ ubuntu-latest, windows-latest, macos-latest ] | |
| python-version: [ '3.10', '3.11', '3.12', '3.13', '3.14' ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Setup Ubuntu | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get -y install libsndfile1 | |
| if: matrix.os == 'ubuntu-latest' | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@3259c6206f993105e3a61b142c2d97bf4b9ef83d | |
| - name: Install package | |
| run: | | |
| uv sync | |
| - name: List packages | |
| run: | | |
| uv pip list | |
| - name: Test with pytest | |
| run: | | |
| uv run pytest | |
| env: | |
| # Use a non-interactive backend to avoid flaky Tcl/Tk | |
| # errors on Windows runners, see | |
| # https://github.com/actions/runner-images/issues/7776 | |
| MPLBACKEND: Agg | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v4 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| file: ./coverage.xml | |
| if: matrix.os == 'ubuntu-latest' |