Skip to content

fix: set explicit max-age in _set_coulomb_token to prevent cookie eviction #16

fix: set explicit max-age in _set_coulomb_token to prevent cookie eviction

fix: set explicit max-age in _set_coulomb_token to prevent cookie eviction #16

Workflow file for this run

name: CI
on:
push:
branches: ["**"]
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "poetry"
- run: poetry install
- name: black
run: poetry run black --check python_chargepoint/ tests/
- name: flake8
run: poetry run flake8 python_chargepoint/ tests/
- name: mypy
run: poetry run mypy python_chargepoint/
- name: pyright
run: poetry run pyright python_chargepoint/
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
include:
# pydantic-core doesn't yet publish 3.14 wheels; allow failure until it does
- python-version: "3.14"
experimental: true
continue-on-error: ${{ matrix.experimental == true }}
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- run: poetry install
- name: pytest
run: poetry run pytest