mirror of
				https://github.com/ets-labs/python-dependency-injector.git
				synced 2025-11-04 09:57:37 +03:00 
			
		
		
		
	Leave coveralls CI/CD job on Python 3.12 because coveralls 4.0.1 doesn't support Python 3.13
This commit is contained in:
		
							parent
							
								
									884956bd03
								
							
						
					
					
						commit
						803d688452
					
				
							
								
								
									
										2
									
								
								.github/workflows/tests-and-linters.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/tests-and-linters.yml
									
									
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -48,7 +48,7 @@ jobs:
 | 
			
		|||
      - uses: actions/checkout@v3
 | 
			
		||||
      - uses: actions/setup-python@v4
 | 
			
		||||
        with:
 | 
			
		||||
          python-version: 3.13
 | 
			
		||||
          python-version: 3.12
 | 
			
		||||
      - run: pip install tox 'cython>=3,<4'
 | 
			
		||||
      - run: make cythonize
 | 
			
		||||
      - run: tox -vv
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										6
									
								
								tox.ini
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								tox.ini
									
									
									
									
									
								
							| 
						 | 
				
			
			@ -26,12 +26,12 @@ python_files = test_*_py3*.py
 | 
			
		|||
 | 
			
		||||
[testenv:coveralls]
 | 
			
		||||
passenv = GITHUB_*, COVERALLS_*, DEPENDENCY_INJECTOR_*
 | 
			
		||||
basepython=python3.13
 | 
			
		||||
basepython=python3.12  # TODO: Upgrade to version 3.13 is blocked by coveralls 4.0.1 not supporting Python 3.13
 | 
			
		||||
deps=
 | 
			
		||||
    {[testenv]deps}
 | 
			
		||||
    cython>=3,<4
 | 
			
		||||
    coverage>=7.6
 | 
			
		||||
    coveralls
 | 
			
		||||
    coverage>=7
 | 
			
		||||
    coveralls>=4
 | 
			
		||||
commands=
 | 
			
		||||
    coverage erase
 | 
			
		||||
    coverage run --rcfile=./.coveragerc -m pytest -c tests/.configs/pytest.ini
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user