From b6e6d3d3a72ce73d3936c1c173f56c68226b1e17 Mon Sep 17 00:00:00 2001 From: Kapil Thangavelu Date: Tue, 9 Feb 2021 14:30:24 -0500 Subject: [PATCH 1/6] attempt to figure out why codecov awol --- .github/workflows/ci-master.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-master.yml b/.github/workflows/ci-master.yml index 9c1ffe6aed0..8c33e897238 100644 --- a/.github/workflows/ci-master.yml +++ b/.github/workflows/ci-master.yml @@ -84,7 +84,7 @@ jobs: run: | ./.tox/${{ matrix.tox-target }}/bin/coverage xml && \ bash <(curl -s https://codecov.io/bash) -Z \ - -v -f coverage.xml + -v -f coverage.xml -g "*json*" -g "*yml" Test-Windows: # windows can't use the fast cache technique we use in our matrix builds From 5d8e9f1410e79f5dad018bd3dda8d5fa9dc609eb Mon Sep 17 00:00:00 2001 From: Stefan Gordon Date: Tue, 9 Feb 2021 12:04:51 -0800 Subject: [PATCH 2/6] Update ci-master.yml --- .github/workflows/ci-master.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-master.yml b/.github/workflows/ci-master.yml index 8c33e897238..424decc2d44 100644 --- a/.github/workflows/ci-master.yml +++ b/.github/workflows/ci-master.yml @@ -84,7 +84,10 @@ jobs: run: | ./.tox/${{ matrix.tox-target }}/bin/coverage xml && \ bash <(curl -s https://codecov.io/bash) -Z \ - -v -f coverage.xml -g "*json*" -g "*yml" + -v -f coverage.xml -g "**/*.json" \ + -U --retry 5 --connect-timeout 5 \ + -A --retry 5 --connect-timeout 5 \ + -X xcode Test-Windows: # windows can't use the fast cache technique we use in our matrix builds From 6e03c2fd4eb0a34a9ea4dd0cc01ff9b3a97caa74 Mon Sep 17 00:00:00 2001 From: Stefan Gordon Date: Tue, 9 Feb 2021 18:14:45 -0800 Subject: [PATCH 3/6] Update ci-master.yml --- .github/workflows/ci-master.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-master.yml b/.github/workflows/ci-master.yml index 424decc2d44..8af5100d828 100644 --- a/.github/workflows/ci-master.yml +++ b/.github/workflows/ci-master.yml @@ -84,10 +84,9 @@ jobs: run: | ./.tox/${{ matrix.tox-target }}/bin/coverage xml && \ bash <(curl -s https://codecov.io/bash) -Z \ - -v -f coverage.xml -g "**/*.json" \ + -v -f coverage.xml \ -U --retry 5 --connect-timeout 5 \ - -A --retry 5 --connect-timeout 5 \ - -X xcode + -A --retry 5 --connect-timeout 5 Test-Windows: # windows can't use the fast cache technique we use in our matrix builds From dfd066f6e8573c60e99442a4426fdda180f51eb0 Mon Sep 17 00:00:00 2001 From: Stefan Gordon Date: Tue, 9 Feb 2021 18:48:16 -0800 Subject: [PATCH 4/6] play with action --- .github/workflows/ci-master.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci-master.yml b/.github/workflows/ci-master.yml index 8af5100d828..de29bd6cda8 100644 --- a/.github/workflows/ci-master.yml +++ b/.github/workflows/ci-master.yml @@ -82,11 +82,17 @@ jobs: - name: Coverage Generate XML if: contains(matrix.tox-target, 'py38-cov') run: | - ./.tox/${{ matrix.tox-target }}/bin/coverage xml && \ - bash <(curl -s https://codecov.io/bash) -Z \ - -v -f coverage.xml \ - -U --retry 5 --connect-timeout 5 \ - -A --retry 5 --connect-timeout 5 + ./.tox/${{ matrix.tox-target }}/bin/coverage xml + + - name: Coverage Upload + if: contains(matrix.tox-target, 'py38-cov') + - uses: codecov/codecov-action@v1 + with: + files: ./coverage.xml + fail_ci_if_error: true # optional (default = false) + verbose: true # optional (default = false) + + Test-Windows: # windows can't use the fast cache technique we use in our matrix builds From 71f55d5dc306b4a27f7040188261ac099f212793 Mon Sep 17 00:00:00 2001 From: Stefan Gordon Date: Tue, 9 Feb 2021 19:43:56 -0800 Subject: [PATCH 5/6] fetch depth --- .github/workflows/ci-master.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci-master.yml b/.github/workflows/ci-master.yml index de29bd6cda8..88e2c1d5e54 100644 --- a/.github/workflows/ci-master.yml +++ b/.github/workflows/ci-master.yml @@ -13,6 +13,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + fetch-depth: 2 - uses: actions/setup-python@v2 with: python-version: 3.8 @@ -82,15 +84,9 @@ jobs: - name: Coverage Generate XML if: contains(matrix.tox-target, 'py38-cov') run: | - ./.tox/${{ matrix.tox-target }}/bin/coverage xml - - - name: Coverage Upload - if: contains(matrix.tox-target, 'py38-cov') - - uses: codecov/codecov-action@v1 - with: - files: ./coverage.xml - fail_ci_if_error: true # optional (default = false) - verbose: true # optional (default = false) + ./.tox/${{ matrix.tox-target }}/bin/coverage xml && \ + bash <(curl -s https://codecov.io/bash) -Z \ + -v -f coverage.xml From a2ee9fa06610bc1cf8a24ad71c397967ab8d0211 Mon Sep 17 00:00:00 2001 From: Stefan Gordon Date: Tue, 9 Feb 2021 19:49:15 -0800 Subject: [PATCH 6/6] whitespace --- .github/workflows/ci-master.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci-master.yml b/.github/workflows/ci-master.yml index 88e2c1d5e54..6aaa3512e3a 100644 --- a/.github/workflows/ci-master.yml +++ b/.github/workflows/ci-master.yml @@ -87,8 +87,6 @@ jobs: ./.tox/${{ matrix.tox-target }}/bin/coverage xml && \ bash <(curl -s https://codecov.io/bash) -Z \ -v -f coverage.xml - - Test-Windows: # windows can't use the fast cache technique we use in our matrix builds