diff --git a/.github/workflows/kibana-reports-test-and-build-workflow.yml b/.github/workflows/kibana-reports-test-and-build-workflow.yml index 3bb0e4d9..c580e6ed 100644 --- a/.github/workflows/kibana-reports-test-and-build-workflow.yml +++ b/.github/workflows/kibana-reports-test-and-build-workflow.yml @@ -50,9 +50,11 @@ jobs: max_attempts: 3 command: cd kibana/plugins/${{ env.PLUGIN_NAME }}; yarn test --coverage - - name: Uploads coverage + - name: Upload coverage uses: codecov/codecov-action@v1 with: + flags: Kibana-reports + directory: kibana/plugins/ token: ${{ secrets.CODECOV_TOKEN }} - name: Build Artifact diff --git a/.github/workflows/reports-scheduler-test-and-build-workflow.yml b/.github/workflows/reports-scheduler-test-and-build-workflow.yml index 0c82b42e..f61dbdea 100644 --- a/.github/workflows/reports-scheduler-test-and-build-workflow.yml +++ b/.github/workflows/reports-scheduler-test-and-build-workflow.yml @@ -19,6 +19,13 @@ jobs: cd reports-scheduler ./gradlew build + - name: Upload coverage + uses: codecov/codecov-action@v1 + with: + flags: reports-scheduler + directory: reports-scheduler/ + token: ${{ secrets.CODECOV_TOKEN }} + - name: Create Artifact Path run: | mkdir -p reports-scheduler-builds