Skip to content

Commit

Permalink
scripts: partition manager: moved tests to separate file
Browse files Browse the repository at this point in the history
Extracted tests from partition_manager.py
to pytest test file and added to CI execution.

Signed-off-by: Lukasz Fundakowski <lukasz.fundakowski@nordicsemi.no>
  • Loading branch information
fundakol committed Feb 20, 2025
1 parent 3e3b689 commit 5daca9e
Show file tree
Hide file tree
Showing 5 changed files with 994 additions and 979 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/scripts-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- main
paths:
- 'scripts/bootloader/**'
- 'scripts/**'

jobs:
test-scripts:
Expand All @@ -25,4 +25,4 @@ jobs:
- name: Install packages
run: python -m pip install -r scripts/requirements-test.txt
- name: Run tests
run: python -m pytest scripts/bootloader/tests
run: python -m pytest scripts/bootloader/tests scripts/tests
Loading

0 comments on commit 5daca9e

Please sign in to comment.