mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 05:02:14 +01:00 
			
		
		
		
	Compile messages in tox tests
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
		@@ -7,7 +7,7 @@ py311:
 | 
				
			|||||||
  image: python:3.11-alpine
 | 
					  image: python:3.11-alpine
 | 
				
			||||||
  before_script:
 | 
					  before_script:
 | 
				
			||||||
    - apk add --no-cache libmagic
 | 
					    - apk add --no-cache libmagic
 | 
				
			||||||
    - apk add --no-cache git  # Useful for django-haystack, remove when the newer versions are in PyPI
 | 
					    - apk add --no-cache gettext git  # Useful for django-haystack, remove when the newer versions are in PyPI
 | 
				
			||||||
    - pip install tox --no-cache-dir
 | 
					    - pip install tox --no-cache-dir
 | 
				
			||||||
  script: tox -e py311
 | 
					  script: tox -e py311
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -16,7 +16,7 @@ py312:
 | 
				
			|||||||
  image: python:3.12-alpine
 | 
					  image: python:3.12-alpine
 | 
				
			||||||
  before_script:
 | 
					  before_script:
 | 
				
			||||||
    - apk add --no-cache libmagic
 | 
					    - apk add --no-cache libmagic
 | 
				
			||||||
    - apk add --no-cache git  # Useful for django-haystack, remove when the newer versions are in PyPI
 | 
					    - apk add --no-cache gettext git  # Useful for django-haystack, remove when the newer versions are in PyPI
 | 
				
			||||||
    - pip install tox --no-cache-dir
 | 
					    - pip install tox --no-cache-dir
 | 
				
			||||||
  script: tox -e py312
 | 
					  script: tox -e py312
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										1
									
								
								tox.ini
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								tox.ini
									
									
									
									
									
								
							@@ -28,6 +28,7 @@ deps =
 | 
				
			|||||||
    requests~=2.31.0
 | 
					    requests~=2.31.0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
commands =
 | 
					commands =
 | 
				
			||||||
 | 
					    python manage.py compilemessages
 | 
				
			||||||
    coverage run --source=api,draw,logs,participation,registration,tfjm ./manage.py test api/ draw/ logs/ participation/ registration/ tfjm/
 | 
					    coverage run --source=api,draw,logs,participation,registration,tfjm ./manage.py test api/ draw/ logs/ participation/ registration/ tfjm/
 | 
				
			||||||
    coverage report -m
 | 
					    coverage report -m
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user