From 10664d569350a6b060709bd15404ebcd1eb87002 Mon Sep 17 00:00:00 2001 From: Lance Cheng Date: Fri, 21 Feb 2025 14:15:17 +0800 Subject: [PATCH 1/5] test --- file | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 file diff --git a/file b/file new file mode 100644 index 00000000000..e69de29bb2d From 437726265103dd3885619b7f1bdd6487b7be6047 Mon Sep 17 00:00:00 2001 From: Lance Cheng Date: Fri, 21 Feb 2025 14:18:23 +0800 Subject: [PATCH 2/5] bb --- touch | 1 + 1 file changed, 1 insertion(+) create mode 100644 touch diff --git a/touch b/touch new file mode 100644 index 00000000000..72943a16fb2 --- /dev/null +++ b/touch @@ -0,0 +1 @@ +aaa From 6daffbd40c1caeb5d7ba9bfc8f6dd39e9c143f98 Mon Sep 17 00:00:00 2001 From: Lance Cheng Date: Fri, 21 Feb 2025 14:33:06 +0800 Subject: [PATCH 3/5] ignore ssh --- .github/workflows/pr_checks.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr_checks.yaml b/.github/workflows/pr_checks.yaml index 7c005de7bcd..37009ae26c6 100644 --- a/.github/workflows/pr_checks.yaml +++ b/.github/workflows/pr_checks.yaml @@ -9,6 +9,9 @@ on: branches: - main +env: + ignore_ssh_tests: true + jobs: install-root: runs-on: ubuntu-latest @@ -273,7 +276,7 @@ jobs: cd core npm test env: - IGNORE_API_KEY_TESTS: ${{ github.event.pull_request.head.repo.fork }} + IGNORE_API_KEY_TESTS: ${{ env.ignore_ssh_tests }} OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }} @@ -434,7 +437,7 @@ jobs: chmod 600 ~/.ssh/id_rsa ssh-keyscan -H "$SSH_HOST" >> ~/.ssh/known_hosts echo -e "Host ssh-test-container\n\tHostName $SSH_HOST\n\tUser ec2-user\n\tIdentityFile ~/.ssh/id_rsa" >> ~/.ssh/config - if: ${{ github.event.pull_request.head.repo.fork == false }} + if: ${{ env.ignore_ssh_tests == false }} - name: Set up Xvfb run: | @@ -444,7 +447,7 @@ jobs: - name: Run e2e tests run: | cd extensions/vscode - IGNORE_SSH_TESTS="${{ github.event.pull_request.head.repo.fork }}" TEST_FILE="${{ matrix.test_file }}" npm run ${{ matrix.command }} + IGNORE_SSH_TESTS="${{ env.ignore_ssh_tests }}" TEST_FILE="${{ matrix.test_file }}" npm run ${{ matrix.command }} env: DISPLAY: :99 @@ -615,3 +618,4 @@ jobs: allowed-failures: allowed-skips: jobs: ${{ toJSON(needs) }} + From ab3bc4225a41f94ec3a534be59176b0f14c51232 Mon Sep 17 00:00:00 2001 From: Lance_Cheng Date: Fri, 21 Feb 2025 14:53:51 +0800 Subject: [PATCH 4/5] Delete touch --- touch | 1 - 1 file changed, 1 deletion(-) delete mode 100644 touch diff --git a/touch b/touch deleted file mode 100644 index 72943a16fb2..00000000000 --- a/touch +++ /dev/null @@ -1 +0,0 @@ -aaa From 3090306cba312c69ddc3d66349bab7685e802513 Mon Sep 17 00:00:00 2001 From: Lance_Cheng Date: Fri, 21 Feb 2025 14:54:10 +0800 Subject: [PATCH 5/5] Delete file --- file | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 file diff --git a/file b/file deleted file mode 100644 index e69de29bb2d..00000000000