Skip to content

Fix/canvas resize hitbox - #5

Merged
MohamedFadl2344 merged 2 commits into
mainfrom
fix/canvas-resize-hitbox
Oct 23, 2026
Merged

MohamedFadl2344 merged 2 commits into
mainfrom
fix/canvas-resize-hitbox

Conversation

@MohamedFadl2344

@MohamedFadl2344 MohamedFadl2344 commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Contribution Notice

Thank you for contributing to DrawMotion!
All pull requests are reviewed and approved exclusively by Founder & Lead Developer Mohamed Fadl (@MohamedFadl2344) and the EASY SOFT TEAM.
By submitting this pull request, you agree that your contribution is licensed under the terms of the GNU General Public License v3.0 (GPLv3).


Description of Changes

Please include a concise summary of the changes and the motivation or context behind them.

Fixes #(issue number if applicable)

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Performance optimization or refactor
  • Documentation update
  • Build / CI pipeline enhancement

Quality & Testing Checklist

  • I have tested my changes locally by running python main.py.
  • I have run the automated test suite with pytest -v and all tests pass.
  • I have verified that no regressions or memory leaks were introduced.
  • I have adhered to existing code conventions, clean typing, and zero-emoji documentation rules.
  • I understand that final review and merge authority belongs exclusively to the Lead Developer.

Visual Verification (Screenshots / Recordings)

If this change affects the user interface, please attach before/after screenshots or a short recording.

Comment on lines +12 to +59
name: Run Pytest Suite on Real Linux (Ubuntu)
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
lfs: true

- name: Install System Dependencies for Qt6 & Multimedia
run: |
sudo apt-get update
ALSA_PKG="libasound2t64"
if ! apt-cache show libasound2t64 >/dev/null 2>&1; then
ALSA_PKG="libasound2"
fi
sudo apt-get install -y \
libgl1-mesa-dev \
libegl1 \
libxkbcommon-x11-0 \
libxcb-cursor0 \
libxcb-icccm4 \
libxcb-image0 \
libxcb-keysyms1 \
libxcb-randr0 \
libxcb-render-util0 \
libxcb-shape0 \
libxcb-xfixes0 \
libxcb-xinerama0 \
$ALSA_PKG \
libpulse0 \
ffmpeg

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: Install Dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
python -m pip install pytest pytest-qt

- name: Run Pytest Matrix in Offscreen Mode
env:
QT_QPA_PLATFORM: offscreen
run: |
pytest -v tests/
@MohamedFadl2344
MohamedFadl2344 merged commit a386ea6 into main Oct 23, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants