Skip to content

Conversation

@dpgeorge
Copy link
Member

All of the runable package tests are run together in the new ci.sh function. This is added to a new GitHub workflow to test the packages as part of CI.

Eventually it would be good to unify all the package tests to use unittest.

@dpgeorge dpgeorge force-pushed the ci-add-package-tests branch 14 times, most recently from 82dd69c to b6afb4f Compare June 16, 2024 00:44
dpgeorge added 5 commits June 17, 2024 11:18
Since deque was removed from this repository the built-in one needs to be
used, and that doesn't have unbounded growth.  So use a list instead, which
is adequate becasue contextlib only needs append and pop, not double ended
behaviour (the previous pure-Python implementation of deque that was used
here anyway used a list as its storage container).

Also tweak the excessive-nesting test so it uses less memory and can run on
the unix port.

Signed-off-by: Damien George <[email protected]>
@dpgeorge dpgeorge force-pushed the ci-add-package-tests branch from b6afb4f to 048a266 Compare June 17, 2024 01:22
All of the runable package tests are run together in the new `tools/ci.sh`
function called `ci_package_tests_run`.  This is added to a new GitHub
workflow to test the packages as part of CI.

Some packages use `unittest` while others use an ad-hoc test script.
Eventually it would be good to unify all the package tests to use
`unittest`.

Signed-off-by: Damien George <[email protected]>
@dpgeorge dpgeorge force-pushed the ci-add-package-tests branch from 048a266 to 98f8a7e Compare June 17, 2024 01:29
@dpgeorge dpgeorge merged commit 98f8a7e into micropython:master Jun 17, 2024
@dpgeorge dpgeorge deleted the ci-add-package-tests branch June 17, 2024 01:41
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.

1 participant