mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-03 22:20:28 +03:00 
			
		
		
		
	lint: check syntax of countryCode: fields for mirrors
This commit is contained in:
		
							parent
							
								
									4511da68b9
								
							
						
					
					
						commit
						96fc49d7fc
					
				
					 4 changed files with 145 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -15,11 +15,12 @@ variables:
 | 
			
		|||
# * python3-babel for compiling localization files
 | 
			
		||||
# * gnupg-agent for the full signing setup
 | 
			
		||||
# * python3-clint for fancy progress bars for users
 | 
			
		||||
# * python3-pycountry for linting config/mirrors.yml
 | 
			
		||||
buildserver run-tests:
 | 
			
		||||
  image: registry.gitlab.com/fdroid/fdroidserver:buildserver
 | 
			
		||||
  script:
 | 
			
		||||
    - apt-get update
 | 
			
		||||
    - apt-get install gnupg-agent python3-babel python3-clint
 | 
			
		||||
    - apt-get install gnupg-agent python3-babel python3-clint python3-pycountry
 | 
			
		||||
    - ./tests/run-tests
 | 
			
		||||
    # make sure that translations do not cause stacktraces
 | 
			
		||||
    - cd $CI_PROJECT_DIR/locale
 | 
			
		||||
| 
						 | 
				
			
			@ -152,6 +153,9 @@ ubuntu_jammy_pip:
 | 
			
		|||
    - $pip install sdkmanager
 | 
			
		||||
    - sdkmanager 'build-tools;33.0.0'
 | 
			
		||||
 | 
			
		||||
    # pycountry is only for linting config/mirrors.yml, so its not in setup.py
 | 
			
		||||
    - $pip install pycountry
 | 
			
		||||
 | 
			
		||||
    - $pip install dist/fdroidserver-*.tar.gz
 | 
			
		||||
    - tar xzf dist/fdroidserver-*.tar.gz
 | 
			
		||||
    - cd fdroidserver-*
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue