cyber4EDU/binda
12
1
Fork
You've already forked binda
0

16_api_integration_tests_in_ci #70

Merged
sven-hm merged 2 commits from 16_api_integration_tests_in_ci into main 2025年10月18日 19:17:28 +02:00

Closes #16

This MR

  • make api integration tests run in ci
Closes #16 This MR - [x] make api integration tests run in ci
sven-hm changed title from (削除) 16_api_integration_tests_in_ci (削除ここまで) to WIP: 16_api_integration_tests_in_ci 2025年09月27日 21:43:23 +02:00
Author
Owner
Copy link

@david_jt ich hab die API tests etwas umgebaut, sodass sie mit oidc-provider-mock laufen.
Dazu hab ich den forgejo test-api workflow angepasst. Ich bin mir nicht sicher ob es so funktioniert und wie ich das testen kann. Vielleicht hast du eine Idee, oder wir schauen mal zusammen drauf.

@david_jt ich hab die API tests etwas umgebaut, sodass sie mit [oidc-provider-mock](https://oidc-provider-mock.readthedocs.io/stable/) laufen. Dazu hab ich den forgejo test-api workflow angepasst. Ich bin mir nicht sicher ob es so funktioniert und wie ich das testen kann. Vielleicht hast du eine Idee, oder wir schauen mal zusammen drauf.
sven-hm force-pushed 16_api_integration_tests_in_ci from 6c42297667 to febe475704 2025年09月30日 22:35:16 +02:00 Compare
sven-hm force-pushed 16_api_integration_tests_in_ci from d1cdfc82a4 to 3f297aebbf 2025年09月30日 23:40:13 +02:00 Compare
sven-hm force-pushed 16_api_integration_tests_in_ci from 3f297aebbf to 26c74cf07f 2025年09月30日 23:46:28 +02:00 Compare
Author
Owner
Copy link

I moved the "done" part into #73 and merged it. In this MR only the CI thingy remains

I moved the "done" part into #73 and merged it. In this MR only the CI thingy remains
sven-hm force-pushed 16_api_integration_tests_in_ci from 26c74cf07f to d33f9c8dad 2025年10月01日 00:03:41 +02:00 Compare
sven-hm force-pushed 16_api_integration_tests_in_ci from d33f9c8dad to ba4c3d3195 2025年10月01日 00:05:30 +02:00 Compare

@sven-hm die Pfad-Eingrenzung ind er CI scheint buggy zu sein. Wenn du auf den aktuellsten main rebasest, dann werden die API-Tests jetzt immer ausgeführt (und schlagen im Moment auch fehl).

@sven-hm die Pfad-Eingrenzung ind er CI scheint buggy zu sein. Wenn du auf den aktuellsten main rebasest, dann werden die API-Tests jetzt immer ausgeführt (und schlagen im Moment auch fehl).
sven-hm force-pushed 16_api_integration_tests_in_ci from ba4c3d3195 to 2907f48299
Some checks failed
test-keycloak-config / test (push) Successful in 41s
test-api / test (push) Failing after 11m35s
2025年10月12日 14:29:35 +02:00
Compare
sven-hm force-pushed 16_api_integration_tests_in_ci from 2907f48299
Some checks failed
test-keycloak-config / test (push) Successful in 41s
test-api / test (push) Failing after 11m35s
to 4e8c3d4095
Some checks failed
test-keycloak-config / test (push) Successful in 1m46s
test-api / test (push) Failing after 8m25s
2025年10月12日 14:47:32 +02:00
Compare
@ -18,0 +18,4 @@
# install oidc-provider-mock
export TMPDIR=/tmp
python3 -m venv "${TMPDIR}/venv"
source "${TMPDIR}/venv/bin/activate"
Owner
Copy link

I think you'll have to activate the venv again in the integration tests step, since I think that uses a fresh shell.

I think you'll have to activate the venv again in the integration tests step, since I think that uses a fresh shell.
Author
Owner
Copy link

Ja, da waren noch ein paar Dinge nicht ganz richtig. Jetzt passt es und ich habs schon gemerged.

Die Pfad-Eingrenzung sollte jetzt auch passen!

Ja, da waren noch ein paar Dinge nicht ganz richtig. Jetzt passt es und ich habs schon gemerged. Die Pfad-Eingrenzung sollte jetzt auch passen!
sven-hm marked this conversation as resolved
sven-hm force-pushed 16_api_integration_tests_in_ci from 4e8c3d4095
Some checks failed
test-keycloak-config / test (push) Successful in 1m46s
test-api / test (push) Failing after 8m25s
to 03794e1847
Some checks failed
test-api.yaml / fixup! ci: run api integration tests (push) Failing after 0s
test-api.yaml / fixup! ci: run api integration tests (pull_request) Failing after 0s
test-keycloak-config / test (push) Successful in 26s
2025年10月18日 18:06:45 +02:00
Compare
sven-hm force-pushed 16_api_integration_tests_in_ci from 03794e1847
Some checks failed
test-api.yaml / fixup! ci: run api integration tests (push) Failing after 0s
test-api.yaml / fixup! ci: run api integration tests (pull_request) Failing after 0s
test-keycloak-config / test (push) Successful in 26s
to 112e9df3f1
Some checks failed
test-api.yaml / fixup! ci: run api integration tests (push) Failing after 0s
test-keycloak-config / test (push) Successful in 10s
test-api.yaml / fixup! ci: run api integration tests (pull_request) Has been cancelled
2025年10月18日 18:08:56 +02:00
Compare
sven-hm force-pushed 16_api_integration_tests_in_ci from 112e9df3f1
Some checks failed
test-api.yaml / fixup! ci: run api integration tests (push) Failing after 0s
test-keycloak-config / test (push) Successful in 10s
test-api.yaml / fixup! ci: run api integration tests (pull_request) Has been cancelled
to 53ffbca212
All checks were successful
test-keycloak-config / test (push) Successful in 10s
2025年10月18日 18:18:03 +02:00
Compare
sven-hm force-pushed 16_api_integration_tests_in_ci from 53ffbca212
All checks were successful
test-keycloak-config / test (push) Successful in 10s
to 5f5644103a
Some checks failed
test-api / test (push) Failing after 1s
test-keycloak-config / test (push) Successful in 9s
2025年10月18日 18:20:06 +02:00
Compare
sven-hm force-pushed 16_api_integration_tests_in_ci from 5f5644103a
Some checks failed
test-api / test (push) Failing after 1s
test-keycloak-config / test (push) Successful in 9s
to 4ae62352b0
All checks were successful
test-keycloak-config / test (push) Successful in 13s
2025年10月18日 18:24:17 +02:00
Compare
sven-hm force-pushed 16_api_integration_tests_in_ci from 4ae62352b0
All checks were successful
test-keycloak-config / test (push) Successful in 13s
to ff83a2559b
Some checks failed
test-api / test (push) Failing after 1s
test-keycloak-config / test (push) Successful in 9s
2025年10月18日 18:26:04 +02:00
Compare
sven-hm force-pushed 16_api_integration_tests_in_ci from ff83a2559b
Some checks failed
test-api / test (push) Failing after 1s
test-keycloak-config / test (push) Successful in 9s
to 7453c7d4d4
Some checks failed
test-keycloak-config / test (push) Successful in 12s
test-api / test (push) Failing after 6m28s
2025年10月18日 18:27:44 +02:00
Compare
sven-hm force-pushed 16_api_integration_tests_in_ci from 7453c7d4d4
Some checks failed
test-keycloak-config / test (push) Successful in 12s
test-api / test (push) Failing after 6m28s
to a7026e06f3
Some checks failed
test-keycloak-config / test (push) Successful in 15s
test-api / test (push) Failing after 5m43s
2025年10月18日 18:43:16 +02:00
Compare
sven-hm force-pushed 16_api_integration_tests_in_ci from a7026e06f3
Some checks failed
test-keycloak-config / test (push) Successful in 15s
test-api / test (push) Failing after 5m43s
to 1dd3e401d6
All checks were successful
test-keycloak-config / test (push) Successful in 13s
test-api / test (pull_request) Successful in 4m22s
2025年10月18日 18:53:06 +02:00
Compare
sven-hm force-pushed 16_api_integration_tests_in_ci from 1dd3e401d6
All checks were successful
test-keycloak-config / test (push) Successful in 13s
test-api / test (pull_request) Successful in 4m22s
to 9c04050a0b
Some checks failed
test-keycloak-config / test (pull_request) Successful in 13s
test-api / test (pull_request) Successful in 6m31s
build-docker / build_webui (push) Has been cancelled
build-keycloak-config / build_tofu (push) Has been cancelled
build-docker / build_api (push) Has been cancelled
build-docker / update_deployment_testing (push) Has been cancelled
build-docker / update_deployment_dev (push) Has been cancelled
2025年10月18日 19:08:30 +02:00
Compare
sven-hm changed title from (削除) WIP: 16_api_integration_tests_in_ci (削除ここまで) to 16_api_integration_tests_in_ci 2025年10月18日 19:08:49 +02:00
sven-hm deleted branch 16_api_integration_tests_in_ci 2025年10月18日 19:17:40 +02:00
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cyber4EDU/binda!70
Reference in a new issue
cyber4EDU/binda
No description provided.
Delete branch "16_api_integration_tests_in_ci"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?