Split CI by function #4
							
								
								
									
										35
									
								
								.github/workflows/ci-branch-main.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										35
									
								
								.github/workflows/ci-branch-main.yml
									
									
									
									
										vendored
									
									
								
							@@ -11,6 +11,41 @@ on:
 | 
			
		||||
      - 'renovate.json'
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  lint:
 | 
			
		||||
    name: Lint
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: Check out repository code
 | 
			
		||||
        uses: actions/checkout@v3
 | 
			
		||||
      - name: Setup Python
 | 
			
		||||
        uses: actions/setup-python@v4
 | 
			
		||||
        with:
 | 
			
		||||
          python-version: "3.10"
 | 
			
		||||
      - name: Install dependencies
 | 
			
		||||
        run: pip install -r requirements.txt && pip install -r requirements-dev.txt
 | 
			
		||||
      - name: Lint
 | 
			
		||||
        run: pylint --recursive=yes .
 | 
			
		||||
 | 
			
		||||
  test:
 | 
			
		||||
    name: Run unit tests
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    strategy:
 | 
			
		||||
      matrix:
 | 
			
		||||
        python-version: [ '3.10' ]
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: Check out repository code
 | 
			
		||||
        uses: actions/checkout@v3
 | 
			
		||||
      - name: Setup Python ${{ matrix.python-version }}
 | 
			
		||||
        uses: actions/setup-python@v4
 | 
			
		||||
        with:
 | 
			
		||||
          python-version: ${{ matrix.python-version }}
 | 
			
		||||
      - name: Install dependencies
 | 
			
		||||
        run: pip install -r requirements.txt && pip install -r requirements-dev.txt
 | 
			
		||||
      - name: Run test suite
 | 
			
		||||
        run: coverage run -m py.test -v
 | 
			
		||||
      - name: Upload Coverage to Codecov
 | 
			
		||||
        uses: codecov/codecov-action@v3
 | 
			
		||||
 | 
			
		||||
  build:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user