Skip to content

Add explicit floattype annotation for variable #526

Add explicit floattype annotation for variable

Add explicit floattype annotation for variable #526

Workflow file for this run

name: Test and analyze
# push: safety net for direct pushes to protected branches.
# pull_request: gates PRs against a merge commit (branch + target), not just the branch alone.
on:
push:
branches: [ development, release, master ]
pull_request:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
pytests:
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install dependencies
run: |
python -m pip install -U pip tox
- name: pytest
run: |
tox -e py
Analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Set up Python 3.13
uses: actions/setup-python@v7
with:
python-version: "3.13"
cache: pip
- name: Install dependencies
run: |
python -m pip install -U pip tox
- name: analysis
run: |
tox -e analysis