| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -209,7 +209,7 @@ jobs: | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      run: eval "$BUILD" | 
					 | 
					 | 
					 | 
					      run: eval "$BUILD" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    - name: Run valgrind | 
					 | 
					 | 
					 | 
					    - name: Run valgrind | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      run: | | 
					 | 
					 | 
					 | 
					      run: | | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        ${{ env.RUN }} "scons -j$(nproc) --coverage && \ | 
					 | 
					 | 
					 | 
					        ${{ env.RUN }} "scons -j$(nproc) && \ | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        FILEREADER_CACHE=1 python selfdrive/test/test_valgrind_replay.py" | 
					 | 
					 | 
					 | 
					                        FILEREADER_CACHE=1 python selfdrive/test/test_valgrind_replay.py" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    - name: Print logs | 
					 | 
					 | 
					 | 
					    - name: Print logs | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      if: always() | 
					 | 
					 | 
					 | 
					      if: always() | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -244,7 +244,7 @@ jobs: | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      run: eval "$BUILD" | 
					 | 
					 | 
					 | 
					      run: eval "$BUILD" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    - name: Run unit tests | 
					 | 
					 | 
					 | 
					    - name: Run unit tests | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      run: | | 
					 | 
					 | 
					 | 
					      run: | | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        ${{ env.RUN }} "scons -j$(nproc) --test --coverage && \ | 
					 | 
					 | 
					 | 
					        ${{ env.RUN }} "scons -j$(nproc) --test && \ | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        coverage run selfdrive/test/test_fingerprints.py && \ | 
					 | 
					 | 
					 | 
					                        coverage run selfdrive/test/test_fingerprints.py && \ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        $UNIT_TEST common && \ | 
					 | 
					 | 
					 | 
					                        $UNIT_TEST common && \ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        $UNIT_TEST opendbc/can && \ | 
					 | 
					 | 
					 | 
					                        $UNIT_TEST opendbc/can && \ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -265,7 +265,7 @@ jobs: | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        ./selfdrive/proclogd/tests/test_proclog && \ | 
					 | 
					 | 
					 | 
					                        ./selfdrive/proclogd/tests/test_proclog && \ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        ./selfdrive/ui/replay/tests/test_replay && \ | 
					 | 
					 | 
					 | 
					                        ./selfdrive/ui/replay/tests/test_replay && \ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        ./selfdrive/camerad/test/ae_gray_test && \ | 
					 | 
					 | 
					 | 
					                        ./selfdrive/camerad/test/ae_gray_test && \ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        tools/collect_coverage.sh" | 
					 | 
					 | 
					 | 
					                        coverage xml" | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    - name: "Upload coverage to Codecov" | 
					 | 
					 | 
					 | 
					    - name: "Upload coverage to Codecov" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      uses: codecov/codecov-action@v2 | 
					 | 
					 | 
					 | 
					      uses: codecov/codecov-action@v2 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -299,9 +299,9 @@ jobs: | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      run: eval "$BUILD" | 
					 | 
					 | 
					 | 
					      run: eval "$BUILD" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    - name: Run replay | 
					 | 
					 | 
					 | 
					    - name: Run replay | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      run: | | 
					 | 
					 | 
					 | 
					      run: | | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        ${{ env.RUN }} "scons -j$(nproc) --coverage && \ | 
					 | 
					 | 
					 | 
					        ${{ env.RUN }} "scons -j$(nproc) && \ | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        FILEREADER_CACHE=1 CI=1 coverage run selfdrive/test/process_replay/test_processes.py && \ | 
					 | 
					 | 
					 | 
					                        FILEREADER_CACHE=1 CI=1 coverage run selfdrive/test/process_replay/test_processes.py && \ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        tools/collect_coverage.sh" | 
					 | 
					 | 
					 | 
					                        coverage xml" | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    - name: "Upload coverage to Codecov" | 
					 | 
					 | 
					 | 
					    - name: "Upload coverage to Codecov" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      uses: codecov/codecov-action@v2 | 
					 | 
					 | 
					 | 
					      uses: codecov/codecov-action@v2 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    - name: Print diff | 
					 | 
					 | 
					 | 
					    - name: Print diff | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -354,12 +354,10 @@ jobs: | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    - name: Test longitudinal | 
					 | 
					 | 
					 | 
					    - name: Test longitudinal | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      run: | | 
					 | 
					 | 
					 | 
					      run: | | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        ${{ env.RUN }} "mkdir -p selfdrive/test/out && \ | 
					 | 
					 | 
					 | 
					        ${{ env.RUN }} "mkdir -p selfdrive/test/out && \ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        scons -j$(nproc) --coverage && \ | 
					 | 
					 | 
					 | 
					                        scons -j$(nproc) && \ | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        cd selfdrive/test/longitudinal_maneuvers && \ | 
					 | 
					 | 
					 | 
					                        cd selfdrive/test/longitudinal_maneuvers && \ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        coverage run ./test_longitudinal.py && \ | 
					 | 
					 | 
					 | 
					                        coverage run ./test_longitudinal.py && \ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        coverage xml && \ | 
					 | 
					 | 
					 | 
					                        coverage xml" | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        cd ../../.. && \ | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        tools/collect_coverage.sh" | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    - name: "Upload coverage to Codecov" | 
					 | 
					 | 
					 | 
					    - name: "Upload coverage to Codecov" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      uses: codecov/codecov-action@v2 | 
					 | 
					 | 
					 | 
					      uses: codecov/codecov-action@v2 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    - uses: actions/upload-artifact@v2 | 
					 | 
					 | 
					 | 
					    - uses: actions/upload-artifact@v2 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -403,9 +401,9 @@ jobs: | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      run: eval "$BUILD" | 
					 | 
					 | 
					 | 
					      run: eval "$BUILD" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    - name: Test car models | 
					 | 
					 | 
					 | 
					    - name: Test car models | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      run: | | 
					 | 
					 | 
					 | 
					      run: | | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        ${{ env.RUN }} "scons -j$(nproc) --test --coverage && \ | 
					 | 
					 | 
					 | 
					        ${{ env.RUN }} "scons -j$(nproc) --test && \ | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        FILEREADER_CACHE=1 coverage run -m pytest selfdrive/test/test_models.py && \ | 
					 | 
					 | 
					 | 
					                        FILEREADER_CACHE=1 coverage run -m pytest selfdrive/test/test_models.py && \ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        tools/collect_coverage.sh && \ | 
					 | 
					 | 
					 | 
					                        coverage xml && \ | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        chmod -R 777 /tmp/comma_download_cache" | 
					 | 
					 | 
					 | 
					                        chmod -R 777 /tmp/comma_download_cache" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      env: | 
					 | 
					 | 
					 | 
					      env: | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        NUM_JOBS: 4 | 
					 | 
					 | 
					 | 
					        NUM_JOBS: 4 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |