upload cert exports
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
		
							
								
								
									
										5
									
								
								.github/workflows/ci-main.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/ci-main.yml
									
									
									
									
										vendored
									
									
								
							@ -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
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@ -217,3 +217,4 @@ source_docs/
 | 
			
		||||
 | 
			
		||||
### Docker ###
 | 
			
		||||
docker-compose.override.yml
 | 
			
		||||
tests/openid_conformance/exports/*.zip
 | 
			
		||||
 | 
			
		||||
@ -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))
 | 
			
		||||
 | 
			
		||||
@ -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"""
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user