Skip to content

Use __slots__ to optimize memory usage (#10) #37

Use __slots__ to optimize memory usage (#10)

Use __slots__ to optimize memory usage (#10) #37

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- "*"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- uses: actions/setup-python@v4
name: Set up Python ${{ matrix.python-version }}
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- name: Install the project dependencies
run: poetry install
- name: Run tests
run: poetry run pytest -v