From d52667853eed3b76946d82205365c2212c07a56e Mon Sep 17 00:00:00 2001 From: Chenying Zhao Date: Tue, 25 Jul 2023 15:10:43 -0400 Subject: [PATCH 1/4] add codecov github workflow yaml file --- .github/workflows/codecov.yaml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .github/workflows/codecov.yaml diff --git a/.github/workflows/codecov.yaml b/.github/workflows/codecov.yaml new file mode 100644 index 00000000..9cdfd5f7 --- /dev/null +++ b/.github/workflows/codecov.yaml @@ -0,0 +1,4 @@ +- name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file From b0b2e10cd124c2d5b3cfa87d310b6f912e3de99b Mon Sep 17 00:00:00 2001 From: Chenying Zhao Date: Tue, 25 Jul 2023 15:14:00 -0400 Subject: [PATCH 2/4] add title of codecov yaml file --- .github/workflows/codecov.yaml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/codecov.yaml b/.github/workflows/codecov.yaml index 9cdfd5f7..78c42750 100644 --- a/.github/workflows/codecov.yaml +++ b/.github/workflows/codecov.yaml @@ -1,4 +1,11 @@ -- name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v3 - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file +--- +name: Codecov + +on: [push, pull_request] +# ref: https://docs.github.com/en/actions/using-workflows/triggering-a-workflow + +jobs: + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file From 2cebb158ea722ab4e52175501647c4576175cefc Mon Sep 17 00:00:00 2001 From: Chenying Zhao Date: Tue, 25 Jul 2023 15:16:33 -0400 Subject: [PATCH 3/4] try fixing name syntax --- .github/workflows/codecov.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codecov.yaml b/.github/workflows/codecov.yaml index 78c42750..37007835 100644 --- a/.github/workflows/codecov.yaml +++ b/.github/workflows/codecov.yaml @@ -5,7 +5,8 @@ on: [push, pull_request] # ref: https://docs.github.com/en/actions/using-workflows/triggering-a-workflow jobs: - - name: Upload coverage reports to Codecov + codecov: + name: Upload coverage reports to Codecov uses: codecov/codecov-action@v3 env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file From ff2e4d38a9eb15b760b7309fb1ce6b460e3eb2e0 Mon Sep 17 00:00:00 2001 From: Chenying Zhao Date: Tue, 25 Jul 2023 15:22:43 -0400 Subject: [PATCH 4/4] remove codecov.yaml file from github workflow --- .github/workflows/codecov.yaml | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 .github/workflows/codecov.yaml diff --git a/.github/workflows/codecov.yaml b/.github/workflows/codecov.yaml deleted file mode 100644 index 37007835..00000000 --- a/.github/workflows/codecov.yaml +++ /dev/null @@ -1,12 +0,0 @@ ---- -name: Codecov - -on: [push, pull_request] -# ref: https://docs.github.com/en/actions/using-workflows/triggering-a-workflow - -jobs: - codecov: - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v3 - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file