Fix trailing slash handling regression #131
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
| # This workflow will install Python dependencies, run tests and lint with a variety of Python versions | |
| # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | |
| name: Python package | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: ["ubuntu-24.04", "ubuntu-22.04"] | |
| python: ["3.10", "3.11", "3.12", "3.13", "3.14"] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| python-version: ${{ matrix.python }} | |
| enable-cache: true | |
| activate-environment: true | |
| - name: Lint with Ruff | |
| run: uvx ruff check --output-format=github . | |
| continue-on-error: false | |
| - name: Install dependencies | |
| run: | | |
| uv pip install coveralls | |
| uv pip install mypy | |
| uv sync --locked --all-extras --dev | |
| - name: Run tests | |
| run: | | |
| uv run python -m coverage erase | |
| uv run python -m coverage run -m pytest --cov=src/pyff | |
| mv .coverage .coverage.1 | |
| uv run python -m coverage combine | |
| #make typecheck | |