mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 14:30:30 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
	
		
			803 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
	
		
			803 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
image: registry.gitlab.com/fdroid/ci-images-server:latest
 | 
						|
 | 
						|
test:
 | 
						|
  script:
 | 
						|
    - pip3 install -e .
 | 
						|
    - cd tests
 | 
						|
    - ./complete-ci-tests
 | 
						|
 | 
						|
# Test that the parsing of the .txt format didn't change from last
 | 
						|
# released version. Ensure that the official tags are included when
 | 
						|
# running these tests on forks as well.
 | 
						|
metadata_v0:
 | 
						|
  script:
 | 
						|
    - git fetch https://gitlab.com/fdroid/fdroidserver 0.8
 | 
						|
    - cd tests
 | 
						|
    - export GITCOMMIT=`git describe`
 | 
						|
    - git checkout 0.8  # bump after release
 | 
						|
    - cd ..
 | 
						|
    - git clone --depth 1 https://gitlab.com/fdroid/fdroiddata
 | 
						|
    - cd fdroiddata
 | 
						|
    - ../tests/dump_internal_metadata_format.py
 | 
						|
    - cd ..
 | 
						|
    - git reset --hard
 | 
						|
    - git checkout $GITCOMMIT
 | 
						|
    - cd fdroiddata
 | 
						|
    - ../tests/dump_internal_metadata_format.py
 | 
						|
    - diff -uw metadata/dump_*
 |