mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 04:22:14 +01:00 
			
		
		
		
	Add Python 3.12 test in Gitlab CI
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
		@@ -2,14 +2,6 @@ stages:
 | 
				
			|||||||
  - test
 | 
					  - test
 | 
				
			||||||
  - quality-assurance
 | 
					  - quality-assurance
 | 
				
			||||||
 | 
					
 | 
				
			||||||
py310:
 | 
					 | 
				
			||||||
  stage: test
 | 
					 | 
				
			||||||
  image: python:3.10-alpine
 | 
					 | 
				
			||||||
  before_script:
 | 
					 | 
				
			||||||
    - apk add --no-cache libmagic
 | 
					 | 
				
			||||||
    - pip install tox --no-cache-dir
 | 
					 | 
				
			||||||
  script: tox -e py310
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
py311:
 | 
					py311:
 | 
				
			||||||
  stage: test
 | 
					  stage: test
 | 
				
			||||||
  image: python:3.11-alpine
 | 
					  image: python:3.11-alpine
 | 
				
			||||||
@@ -18,6 +10,14 @@ py311:
 | 
				
			|||||||
    - pip install tox --no-cache-dir
 | 
					    - pip install tox --no-cache-dir
 | 
				
			||||||
  script: tox -e py311
 | 
					  script: tox -e py311
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					py312:
 | 
				
			||||||
 | 
					  stage: test
 | 
				
			||||||
 | 
					  image: python:3.12-alpine
 | 
				
			||||||
 | 
					  before_script:
 | 
				
			||||||
 | 
					    - apk add --no-cache libmagic
 | 
				
			||||||
 | 
					    - pip install tox --no-cache-dir
 | 
				
			||||||
 | 
					  script: tox -e py312
 | 
				
			||||||
 | 
					
 | 
				
			||||||
linters:
 | 
					linters:
 | 
				
			||||||
  stage: quality-assurance
 | 
					  stage: quality-assurance
 | 
				
			||||||
  image: python:3-alpine
 | 
					  image: python:3-alpine
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user