Skip to content

chore: use startswith with tuple #962

chore: use startswith with tuple

chore: use startswith with tuple #962

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
python-version:
- '3.9'
- '3.10'
- '3.11'
- '3.12'
- '3.13'
env:
PYTHON_VERSION: ${{ matrix.python-version }}
PYTHONUNBUFFERED: 1
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: requirements*.txt
- name: Install System dependencies
run: |
sudo apt-get update
sudo apt-get install -qq -y --no-install-recommends libxmlsec1-dev swig
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install coverage tox
- name: Test with tox
run: tox -e "py${PYTHON_VERSION/\./}"
- uses: codecov/codecov-action@v5
with:
flags: unittests
name: Python ${{ matrix.python-version }}