aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ci: enable new test optionSam James2024-03-121-1/+1
| | | | | | | See 988e47557368df49035eeba94beca893f7b267c1. Bug: https://bugs.gentoo.org/926427 Signed-off-by: Sam James <sam@gentoo.org>
* switch test framework to pytestJohn Turner2024-03-071-1/+1
| | | | | | | | | | | | | | | | | | | | Pytest is a testing framework that is backwards compatible with "unittest" tests, but provides new styles of tests that are more ergonomic. Pytest tests do not require wrapping the test in a class, just a top level python function will be automatically picked up. Assertions use the regular python assert built-in and provide greatly enhanced debug output. These features reduce friction in writing new unit tests, and being backwards compatible allows preserving the existing gentoolkit unit tests. Changing the meson test command and installing the pytest package in CI are the only changes required to start using it! Signed-off-by: John Turner <jturner.usa@gmail.com> Closes: https://github.com/gentoo/gentoolkit/pull/45 Signed-off-by: Sam James <sam@gentoo.org>
* Revert "ci: add py3.13"Sam James2024-01-191-2/+1
| | | | | | | | This reverts commit e0dc707cc7a37336c175faf463666e5f531a338f. Didn't mean to push this. Signed-off-by: Sam James <sam@gentoo.org>
* ci: add py3.13Sam James2024-01-191-1/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* ci: add pypy3.10Sam James2024-01-191-0/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* CI: Update portage to 3.0.57Matt Turner2024-01-111-1/+1
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* Migrate to PEP517 meson-python buildgentoolkit-0.6.3Zac Medico2023-10-121-2/+15
| | | | | | | Bug: https://bugs.gentoo.org/909888 Signed-off-by: Zac Medico <zmedico@gentoo.org> Closes: https://github.com/gentoo/gentoolkit/pull/36 Signed-off-by: Sam James <sam@gentoo.org>
* Run `pyupgrade --py39-plus`Sam James2023-08-071-4/+0
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* CI: add Python 3.12 alphasSam James2023-03-201-0/+1
| | | | | | | Per https://github.com/actions/setup-python/issues/150, we can just do 3.12-dev and such. Signed-off-by: Sam James <sam@gentoo.org>
* CI: update Portage versionSam James2023-03-201-1/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* CI: fix Python 3.11 workflow/jobSam James2023-03-201-1/+1
| | | | | | Use the latest Python 3.11 release. Signed-off-by: Sam James <sam@gentoo.org>
* tox.ini, github: add Python 3.10 final, add Python 3.11Sam James2022-05-191-2/+5
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* Add github action for flakeWolfgang E. Sanyer2021-09-211-0/+20
| | | | | Signed-off-by: Wolfgang E. Sanyer <WolfgangESanyer@gmail.com> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* Add github action unit-test CIWolfgang E. Sanyer2021-09-211-0/+44
| | | | | | Closes: https://github.com/gentoo/gentoolkit/pull/16 Signed-off-by: Wolfgang E. Sanyer <WolfgangESanyer@gmail.com> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* Add github action to check formattingWolfgang E. Sanyer2021-09-201-0/+10
Closes: https://github.com/gentoo/gentoolkit/pull/15 Signed-off-by: Wolfgang E. Sanyer <WolfgangESanyer@gmail.com> Signed-off-by: Matt Turner <mattst88@gentoo.org>