release: bump version to 1.17.7 #1087
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 is a basic workflow to help you get started with Actions | |
| name: "🐍 Lint and Test" | |
| # Controls when the action will run. Triggers the workflow on push or pull request | |
| # events but only for the master branch | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| paths-ignore: | |
| - "docs/**" | |
| push: | |
| branches: | |
| - main | |
| paths-ignore: | |
| - "docs/**" | |
| # Sets permissions of the GITHUB_TOKEN | |
| permissions: | |
| contents: read | |
| jobs: | |
| lintest: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: | |
| - "3.10" | |
| - "3.11" | |
| - "3.12" | |
| - "3.13" | |
| # Steps represent a sequence of tasks that will be executed as part of the job | |
| steps: | |
| - name: Get source code | |
| uses: actions/checkout@v5 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: "pip" | |
| cache-dependency-path: pyproject.toml | |
| - name: Upgrade installation dependencies | |
| run: python -m pip install --upgrade pip setuptools wheel | |
| - name: Install project as a package | |
| run: python -m pip install .[test] | |
| - name: Run Unit tests | |
| run: python -m pytest | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v5.5.1 | |
| with: | |
| env_vars: PYTHON | |
| flags: unittests | |
| name: Code Coverage for unittests on python-${{ matrix.python-version }}] | |
| env: | |
| PYTHON: ${{ matrix.python-version }} | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |