From cf534718ee02243eee6eddc2e7a89f694fa4d6aa Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 3 May 2024 01:21:10 +0800 Subject: [PATCH 01/16] fix: try v1 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1798a944..1c011d2d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: - name: Run tests and collect coverage run: pytest --cov app ${{ env.CODECOV_ATS_TESTS }} - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v1 with: flags: smart-tests verbose: true From 12620d36899e736f49a590eb3e15b974d6c1c62c Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 3 May 2024 08:58:21 +0800 Subject: [PATCH 02/16] fix: repeat --- .github/workflows/ci.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1c011d2d..7e6d93c3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,6 +3,9 @@ on: [push, pull_request] jobs: run: runs-on: ubuntu-latest + strategy: + matrix: + repeat: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] steps: - name: Checkout uses: actions/checkout@v4 @@ -14,17 +17,11 @@ jobs: python-version: '3.10' - name: Install dependencies run: pip install -r requirements.txt - - name: Run ATS - uses: codecov/codecov-ats@v0 - env: - CODECOV_STATIC_TOKEN: ${{ secrets.CODECOV_STATIC_TOKEN }} - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - name: Run tests and collect coverage run: pytest --cov app ${{ env.CODECOV_ATS_TESTS }} - name: Upload coverage to Codecov uses: codecov/codecov-action@v1 with: - flags: smart-tests verbose: true env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} From d17764c5ae793c6b390a5fee1fc6d2aedb011480 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 3 May 2024 08:59:29 +0800 Subject: [PATCH 03/16] fix: fail ci --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7e6d93c3..74b5472b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,6 +22,7 @@ jobs: - name: Upload coverage to Codecov uses: codecov/codecov-action@v1 with: + fail_ci_if_error: true verbose: true env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} From f0dd39e0c625962f7b02e59dcf88ed18e130e483 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 3 May 2024 09:09:57 +0800 Subject: [PATCH 04/16] fix: blow up the rate limit --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 74b5472b..8aebcc78 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,9 @@ jobs: strategy: matrix: repeat: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] + repeat2: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] + repeat3: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] + repeat4: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] steps: - name: Checkout uses: actions/checkout@v4 From 8c5bae3072fadaedf8dff30ce9c72dde0e7b954e Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 3 May 2024 09:10:32 +0800 Subject: [PATCH 05/16] fix: cant blow up that much --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8aebcc78..0d8ad4c4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,6 @@ jobs: repeat: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] repeat2: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] repeat3: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] - repeat4: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] steps: - name: Checkout uses: actions/checkout@v4 From eeee43d9c32b97aae829291eb8a61e9fe5f5117e Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 3 May 2024 09:11:30 +0800 Subject: [PATCH 06/16] fix: set to 256 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0d8ad4c4..ed233671 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,9 +5,9 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - repeat: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] - repeat2: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] - repeat3: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] + repeat: [0, 1, 2, 3, 4, 5, 6, 7] + repeat2: [0, 1, 2, 3, 4, 5, 6, 7] + repeat3: [0, 1, 2, 3] steps: - name: Checkout uses: actions/checkout@v4 From d08314d2e8e2ab1bb119a992521f9cd379b07962 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 3 May 2024 09:11:45 +0800 Subject: [PATCH 07/16] fix: just dont use token --- .github/workflows/ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ed233671..05ed9156 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,5 +26,3 @@ jobs: with: fail_ci_if_error: true verbose: true - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} From fe3af3eaff48e5908c9a7d6d5c3d8771fd86e18d Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 3 May 2024 09:23:39 +0800 Subject: [PATCH 08/16] commit 1 --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 05ed9156..1f98ed84 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,3 +26,4 @@ jobs: with: fail_ci_if_error: true verbose: true + From 111c0460598c628a612550e553330731c4a6248c Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 3 May 2024 09:23:46 +0800 Subject: [PATCH 09/16] fix: commit 2 --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1f98ed84..2da3a838 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,3 +27,4 @@ jobs: fail_ci_if_error: true verbose: true + From 09804c825dbb2d0f0ec2be681522865a762511bc Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 3 May 2024 09:23:53 +0800 Subject: [PATCH 10/16] commit 3 --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2da3a838..9c533aef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,3 +28,4 @@ jobs: verbose: true + From 1ddf776ac738446bf93957e795a353132060a13d Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 3 May 2024 09:24:04 +0800 Subject: [PATCH 11/16] commit 4 --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9c533aef..24556480 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,3 +29,4 @@ jobs: + From b3c110fe08b280388d9306087f099ffe052d9d92 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 3 May 2024 09:24:13 +0800 Subject: [PATCH 12/16] fix: commit 5 --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 24556480..7b0ba748 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,3 +30,4 @@ jobs: + From c3d01e4625f1f2935859dd1f68921870b928b5cd Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 3 May 2024 09:24:23 +0800 Subject: [PATCH 13/16] commit 6 --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b0ba748..ad53c186 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,3 +31,4 @@ jobs: + From 7e62ab719e7bbc0b2615fd53813ba4640457d398 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 3 May 2024 09:24:33 +0800 Subject: [PATCH 14/16] commit 7 --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ad53c186..f27d1792 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,3 +32,4 @@ jobs: + From 77d4ed3252ca57f26d60d65ef12c311543bd6c77 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 3 May 2024 09:24:46 +0800 Subject: [PATCH 15/16] commit 8 --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f27d1792..360c14ef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,3 +33,4 @@ jobs: + From 59245bb92861defe0033c01e6da014a0263584e4 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 3 May 2024 09:48:28 +0800 Subject: [PATCH 16/16] fix: retry-max-time 10 --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 360c14ef..58f5b0dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,6 +26,7 @@ jobs: with: fail_ci_if_error: true verbose: true + codecov_curl_args: --retry-max-time 10