This commit is contained in:
		
							
								
								
									
										14
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								.drone.yml
									
									
									
									
									
								
							@ -4,30 +4,30 @@ name: default
 | 
			
		||||
 | 
			
		||||
steps:
 | 
			
		||||
- name: Unit Tests
 | 
			
		||||
  image: python:3.12
 | 
			
		||||
  image: weastur/poetry:latest-python-3.12
 | 
			
		||||
  commands:
 | 
			
		||||
    - pip install poetry
 | 
			
		||||
    # - pip install poetry
 | 
			
		||||
    - poetry config virtualenvs.create false
 | 
			
		||||
    - poetry install
 | 
			
		||||
    - poetry run pytest
 | 
			
		||||
 | 
			
		||||
- name: Python Code Lint
 | 
			
		||||
  image: python:3.12
 | 
			
		||||
  image: weastur/poetry:latest-python-3.12
 | 
			
		||||
  commands:
 | 
			
		||||
    - pip install poetry
 | 
			
		||||
    # - pip install poetry
 | 
			
		||||
    - poetry config virtualenvs.create false
 | 
			
		||||
    - poetry install
 | 
			
		||||
    - poetry run black .
 | 
			
		||||
 | 
			
		||||
- name: Static Type check
 | 
			
		||||
  image: python:3.12
 | 
			
		||||
  image: weastur/poetry:latest-python-3.12
 | 
			
		||||
  commands:
 | 
			
		||||
    - pip install poetry
 | 
			
		||||
    # - pip install poetry
 | 
			
		||||
    - poetry config virtualenvs.create false
 | 
			
		||||
    - poetry install
 | 
			
		||||
    - poetry run mypy .
 | 
			
		||||
 | 
			
		||||
- name: Deploy
 | 
			
		||||
  image: python:3.12
 | 
			
		||||
  image: weastur/poetry:latest-python-3.12
 | 
			
		||||
  commands:
 | 
			
		||||
    - echo "TODO"
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user