From 54e4a464ed2a3601a8b107aa3473852377086004 Mon Sep 17 00:00:00 2001 From: Dave Rolsky Date: Sun, 19 Mar 2023 11:18:25 -0400 Subject: [PATCH] Remove tests that $PATH is left alone This test isn't really needed, and it's causing spurious CI failures because it's hitting GitHub API rate limits. --- .github/workflows/test.yml | 10 ---------- tests/check-path.sh | 4 ---- 2 files changed, 14 deletions(-) delete mode 100755 tests/check-path.sh diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 096f4fc..e5902d8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -175,12 +175,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - # This is installed here so we can check for it in $PATH later. This - # makes sure that the actions don't overwrite anything in $PATH. - - name: Install Protoc - uses: arduino/setup-protoc@v1 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Copy test project to root shell: bash run: | @@ -211,7 +205,3 @@ jobs: shell: bash run: | tests/check-binary.sh "${{ matrix.platform.target }}" "${{ matrix.platform.expect_cross }}" "${{ matrix.platform.expect_file }}" "${{ matrix.platform.expect_stripped }}" - - name: Check that $PATH is not overwritten - shell: bash - run: | - tests/check-path.sh diff --git a/tests/check-path.sh b/tests/check-path.sh deleted file mode 100755 index 7e12edb..0000000 --- a/tests/check-path.sh +++ /dev/null @@ -1,4 +0,0 @@ -set -e -set -x - -which protoc