upload cert exports

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer
2025-05-29 19:31:26 +02:00
parent 3e2c1a9501
commit 107e9b789d
4 changed files with 9 additions and 1 deletions

View File

@ -267,6 +267,11 @@ jobs:
flags: conformance
file: unittest.xml
token: ${{ secrets.CODECOV_TOKEN }}
- if: ${{ !cancelled() }}
uses: actions/upload-artifact@v4
with:
name: conformance-certification
path: tests/openid_conformance/exports/
ci-core-mark:
if: always()
needs:

1
.gitignore vendored
View File

@ -217,3 +217,4 @@ source_docs/
### Docker ###
docker-compose.override.yml
tests/openid_conformance/exports/*.zip

View File

@ -35,6 +35,6 @@ def blueprint_tester(file_name: Path) -> Callable:
for blueprint_file in Path("blueprints/").glob("**/*.yaml"):
if "local" in str(blueprint_file):
if "local" in str(blueprint_file) or "testing" in str(blueprint_file):
continue
setattr(TestPackaged, f"test_blueprint_{blueprint_file}", blueprint_tester(blueprint_file))

View File

@ -1,4 +1,5 @@
from json import dumps
from pathlib import Path
from time import sleep
from selenium.webdriver.common.by import By
@ -81,6 +82,7 @@ class TestOpenIDConformance(SeleniumTestCase):
self.run_test(module_id)
self.conformance.wait_for_state(module_id, ["FINISHED"], timeout=self.wait_timeout)
sleep(2)
self.conformance.exporthtml(plan_id, Path(__file__).parent / "exports")
def run_test(self, module_id: str):
"""Process instructions for a single test, navigate to browser URLs and take screenshots"""