Commit graph

21 commits

Author SHA1 Message Date
bronsen
60344a0cf5 [tests,dependencies] install and configure coverage reports
The reports will be printed on the terminal and written in xml.

A new just recipe is added as well: `just cov`

closes: 
2025-03-18 00:15:33 +01:00
bronsen
08cf19a69d [CI] run tests against python 3.13.2 and 3.12.9 2025-03-15 00:00:53 +01:00
bronsen
831b86024c [CI service] try a hopefully smaller image for postgres service 2025-03-14 23:29:01 +01:00
bronsen
e60522f364 [CI debug] venv works, pip is happy even as root 2025-03-14 23:28:31 +01:00
bronsen
088eadc272 [CI debug] more fiddling with the venv
perhaps with a venv we don't need to tell pip about root being ok
2025-03-14 23:27:03 +01:00
bronsen
9b5f60b571 [CI] apparently /bin/sh does not know "source" so we try "." 2025-03-14 23:24:02 +01:00
bronsen
a7046d7296 [CI] suppress printing connection instructions
maybe this reduces the log amount a little bit
2025-03-14 23:22:37 +01:00
bronsen
90ad7643cf [CI] dont source venv in a subshell
let's see how that goes
2025-03-14 23:21:46 +01:00
bronsen
5de39ad077 Revert "[CI] don't use a venv in test step"
This reverts commit dec838c76d.
2025-03-14 23:20:53 +01:00
bronsen
dec838c76d [CI] don't use a venv in test step 2025-03-14 23:11:42 +01:00
bronsen
76f30befe8 [CI] tell pip again it is ok to run as root
perhaps we using this parameter correctly this time..
2025-03-14 23:09:42 +01:00
bronsen
1d0708f7a1 [CI] another attempt to speed up postgres service 2025-03-14 23:09:42 +01:00
bronsen
112013962d [CI debug] is the venv really active? 2025-03-14 23:00:19 +01:00
bronsen
0b164cdf1a [CI] tell pip it's ok to run as root 2025-03-14 22:59:53 +01:00
bronsen
f5aabe7fb7 Revert "[CI] attempt to improve performance of postgres service"
This reverts commit 490e983aa7.
2025-03-14 22:54:47 +01:00
bronsen
490e983aa7 [CI] attempt to improve performance of postgres service
as per suggestion from saces:
https://matrix.to/#/%23coding%3Ac-base.org/%24T3HnHRzsqyUOrzQCV8y2dtOzNsPMlb-nFooEOrZuK5E?via=c-base.org&via=matrix.org&via=hackerfleet.eu
2025-03-14 22:51:34 +01:00
bronsen
371dcf9e0f [CI] pip should never prompt for input
and we quieten it down a bit
2025-03-14 22:49:45 +01:00
bronsen
c151da6b8a [CI] tell service about database name 2025-03-14 22:23:56 +01:00
bronsen
69ca3e4e8c [CI] set up postgres service in workflow
also makes it use a .env.ci file that uses the correct host name
2025-03-14 22:13:31 +01:00
bronsen
ef894d2b2a [CI] select test deployment when running tests on CI 2025-03-14 14:16:16 +01:00
bronsen
3fdc60d9e5 [CI] add woodpecker config for use on code.c-base.org 2025-03-14 13:28:53 +01:00