Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .github/workflows/memory_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# SPDX-FileCopyrightText: 2026 Alec Delaney
#
# SPDX-License-Identifier: MIT

name: Check memory of imports

on: [pull_request]

jobs:
prepare:
runs-on: ubuntu-latest
steps:
- name: Build simulator firmware
id: check-memory
uses: tekktrik/circuitpython-memory-check/prepare@main
check-memory-new:
runs-on: ubuntu-latest
needs: prepare
steps:
- name: Check memory for new changes
id: check-new
uses: tekktrik/circuitpython-memory-check/analyze@main
with:
results-filename: results.json
check-memory-prev:
runs-on: ubuntu-latest
needs: prepare
steps:
- name: Check memory for existing codebase
id: check-prev
uses: tekktrik/circuitpython-memory-check/analyze@main
with:
branch: main
results-filename: original_results.json
compare:
runs-on: ubuntu-latest
needs: [check-memory-new, check-memory-prev]
steps:
- name: Compare memory differences
uses: tekktrik/circuitpython-memory-check/compare@main
with:
results-filename: results.json
original-results-filename: original_results.json
analysis-results-filename: memory_analysis.txt
4 changes: 4 additions & 0 deletions adafruit_imageload/gif.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ImageLoad.git"


def dummy_func():
"""Dummy function implementation."""


def load(
file: BufferedReader, *, bitmap: BitmapConstructor, palette: Optional[PaletteConstructor] = None
) -> Tuple[Bitmap, Optional[Palette]]:
Expand Down
4 changes: 4 additions & 0 deletions adafruit_imageload/pnm/pbm_binary.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ImageLoad.git"


def dummy_func():
"""Dummy function implementation."""


def load(
file: BufferedReader,
width: int,
Expand Down
Loading