Fix coverage file path recognition
This commit is contained in:
		
							parent
							
								
									b848663a3d
								
							
						
					
					
						commit
						70c585812e
					
				|  | @ -12,13 +12,12 @@ fi | ||||||
| echo "2. Running test" | echo "2. Running test" | ||||||
| make test | make test | ||||||
| TEST_STATUS=$? | TEST_STATUS=$? | ||||||
| echo "TEST_STATUS: ${TEST_STATUS}" |  | ||||||
| 
 | 
 | ||||||
| if [ -z $CC_TEST_REPORTER_ID ]; then | if [ -z $CC_TEST_REPORTER_ID ]; then | ||||||
|   echo "3. CC_TEST_REPORTER_ID is unset, skipping" |   echo "3. CC_TEST_REPORTER_ID is unset, skipping" | ||||||
| else | else | ||||||
|   echo "3. Running after-build" |   echo "3. Running after-build" | ||||||
|   ./cc-test-reporter after-build --exit-code $TEST_STATUS -t gocov |   ./cc-test-reporter after-build --exit-code $TEST_STATUS -t gocov --prefix $(basename $(go list -m)) | ||||||
| fi | fi | ||||||
| 
 | 
 | ||||||
| if [ "$TEST_STATUS" -ne 0 ]; then | if [ "$TEST_STATUS" -ne 0 ]; then | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue