mirror of
				https://gitea.publichub.eu/oscar.krause/fastapi-dls.git
				synced 2025-11-04 05:56:06 +00:00 
			
		
		
		
	.gitlab-ci.yml - fixed test cert path
This commit is contained in:
		@@ -21,8 +21,9 @@ test:
 | 
				
			|||||||
  before_script:
 | 
					  before_script:
 | 
				
			||||||
    - pip install -r requirements.txt
 | 
					    - pip install -r requirements.txt
 | 
				
			||||||
    - pip install pytest httpx
 | 
					    - pip install pytest httpx
 | 
				
			||||||
    - openssl genrsa -out app/instance.private.pem 2048
 | 
					    - mkdir -p app/cert
 | 
				
			||||||
    - openssl rsa -in app/instance.private.pem -outform PEM -pubout -out app/instance.public.pem
 | 
					    - openssl genrsa -out app/cert/instance.private.pem 2048
 | 
				
			||||||
 | 
					    - openssl rsa -in app/cert/instance.private.pem -outform PEM -pubout -out app/cert/instance.public.pem
 | 
				
			||||||
    - cd test
 | 
					    - cd test
 | 
				
			||||||
  script:
 | 
					  script:
 | 
				
			||||||
    - pytest main.py
 | 
					    - pytest main.py
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user