summaryrefslogtreecommitdiff
path: root/.github
AgeCommit message (Collapse)Author
2024-03-12ci: enable new test optionSam James
See 988e47557368df49035eeba94beca893f7b267c1. Bug: https://bugs.gentoo.org/926427 Signed-off-by: Sam James <sam@gentoo.org>
2024-03-07switch test framework to pytestJohn Turner
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>
2024-01-19Revert "ci: add py3.13"Sam James
This reverts commit e0dc707cc7a37336c175faf463666e5f531a338f. Didn't mean to push this. Signed-off-by: Sam James <sam@gentoo.org>
2024-01-19ci: add py3.13Sam James
Signed-off-by: Sam James <sam@gentoo.org>
2024-01-19ci: add pypy3.10Sam James
Signed-off-by: Sam James <sam@gentoo.org>
2024-01-11CI: Update portage to 3.0.57Matt Turner
Signed-off-by: Matt Turner <mattst88@gentoo.org>
2023-10-12Migrate to PEP517 meson-python buildZac Medico
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>
2023-08-07Run `pyupgrade --py39-plus`Sam James
Signed-off-by: Sam James <sam@gentoo.org>
2023-03-20CI: add Python 3.12 alphasSam James
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>
2023-03-20CI: update Portage versionSam James
Signed-off-by: Sam James <sam@gentoo.org>
2023-03-20CI: fix Python 3.11 workflow/jobSam James
Use the latest Python 3.11 release. Signed-off-by: Sam James <sam@gentoo.org>
2022-05-19tox.ini, github: add Python 3.10 final, add Python 3.11Sam James
Signed-off-by: Sam James <sam@gentoo.org>
2021-09-21Add github action for flakeWolfgang E. Sanyer
Signed-off-by: Wolfgang E. Sanyer <WolfgangESanyer@gmail.com> Signed-off-by: Matt Turner <mattst88@gentoo.org>
2021-09-21Add github action unit-test CIWolfgang E. Sanyer
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>
2021-09-20Add github action to check formattingWolfgang E. Sanyer
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>