Merge pull request #8 from crazy-max/codecov
Enable Codecov and upload coverage
This commit is contained in:
		
							
								
								
									
										14
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							| @@ -37,10 +37,10 @@ jobs: | ||||
|       - | ||||
|         name: Test | ||||
|         run: yarn run test | ||||
| #      - | ||||
| #        name: Upload coverage | ||||
| #        uses: codecov/codecov-action@v1.0.7 | ||||
| #        if: success() | ||||
| #        with: | ||||
| #          token: ${{ secrets.CODECOV_TOKEN }} | ||||
| #          file: ./coverage/clover.xml | ||||
|       - | ||||
|         name: Upload coverage | ||||
|         uses: codecov/codecov-action@v1.0.7 | ||||
|         if: success() | ||||
|         with: | ||||
|           token: ${{ secrets.CODECOV_TOKEN }} | ||||
|           file: ./coverage/clover.xml | ||||
|   | ||||
| @@ -2,6 +2,7 @@ | ||||
| [](https://github.com/marketplace/actions/docker-setup-buildx) | ||||
| [](https://github.com/docker/setup-buildx-action/actions?workflow=ci) | ||||
| [](https://github.com/docker/setup-buildx-action/actions?workflow=test) | ||||
| [](https://codecov.io/gh/docker/setup-buildx-action) | ||||
|  | ||||
| ## About | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Justin Cormack
					Justin Cormack