update changelog (#22) #58
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: Tests | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: | |
| - "main" | |
| pull_request: | |
| branches: | |
| - "main" | |
| jobs: | |
| test: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.14t"] | |
| os: [windows-latest, ubuntu-latest, macos-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Setup PDM | |
| uses: pdm-project/setup-pdm@v4.4 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| # The target architecture (x86, x64) of the Python interpreter. | |
| # architecture: # optional | |
| version: 2.26.7 | |
| cache: true | |
| cache-dependency-path: ./py${{ matrix.python-version }}.lock | |
| - name: Install dependencies | |
| run: pdm install --frozen-lockfile -L ./py${{ matrix.python-version }}.lock | |
| - name: Test with pytest | |
| run: pdm run pytest --timeout=90 | |
| - name: Upload code coverage to Codecov | |
| uses: codecov/codecov-action@v6 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} |