Skip to content

fix re.split maxsplit deprecation warning #5

fix re.split maxsplit deprecation warning

fix re.split maxsplit deprecation warning #5

Workflow file for this run

name: Run Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
python_version: ['3.10', '3.11', '3.12']
os: [ubuntu-latest, macOS-latest] # TODO: windows-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Setup venv and install pip dependencies
run: |
uv venv \
&& uv sync \
&& uv pip install pip \
&& ln -s /home/linuxbrew/.linuxbrew/bin/brew /usr/local/bin/brew 2>/dev/null || true
- name: Run tests
run: |
source .venv/bin/activate && python tests.py