Skip to content

Commit 50a7e49

Browse files
committed
Remove bash unit tests
1 parent 6f35fa6 commit 50a7e49

File tree

6 files changed

+0
-841
lines changed

6 files changed

+0
-841
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -57,46 +57,6 @@ jobs:
5757
- name: Run Hatchet integration tests
5858
run: bundle exec parallel_split_test test/spec/
5959

60-
buildpack-testrunner:
61-
runs-on: ubuntu-22.04
62-
needs: lint
63-
env:
64-
SHUNIT_HOME: /tmp/shunit2-2.1.6
65-
# Note the missing STACK environment variable here. This works since there is a default value in the buildpack
66-
# source. I ported this as-is from the Travis config. Given we're trying to get rid of testrunner entirely,
67-
# it will stay like this. If we, for some reason, decide to keep testrunner, we should look into a fixed STACK env var.
68-
steps:
69-
- uses: actions/checkout@v4
70-
- uses: actions/setup-java@v4
71-
with:
72-
distribution: zulu
73-
java-version: 8
74-
- name: Download and unpack shunit 2.1.6
75-
run: curl -sSf --retry 3 --retry-connrefused --connect-timeout 5 https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/shunit2/shunit2-2.1.6.tgz | tar xz -C /tmp/
76-
- name: Clone heroku-buildpack-testrunner
77-
run: git clone https://github.com/heroku/heroku-buildpack-testrunner.git /tmp/testrunner
78-
- name: Apply heroku-buildpack-testrunner patches to enforce bash shell
79-
run: |
80-
cd /tmp/testrunner
81-
git apply <<'EOF'
82-
diff --git a/bin/run b/bin/run
83-
index 0d5b790..a0ff25c 100755
84-
--- a/bin/run
85-
+++ b/bin/run
86-
@@ -101,7 +101,7 @@ for bp in ${@}; do
87-
suite_start_time="$(date +%s)"
88-
89-
echo " TEST SUITE: $(basename ${f})"
90-
- ${SHUNIT_HOME?"'SHUNIT_HOME' environment variable must be set"}/src/shunit2 ${f} | indent
91-
+ /bin/bash ${SHUNIT_HOME?"'SHUNIT_HOME' environment variable must be set"}/src/shunit2 ${f} | indent
92-
exit_code=$(max ${exit_code} ${PIPESTATUS[0]})
93-
94-
suite_end_time="$(date +%s)"
95-
96-
EOF
97-
- name: Execute buildpack-testrunner
98-
run: /tmp/testrunner/bin/run .
99-
10060
unit-tests:
10161
name: "Unit Tests (${{ matrix.stack }})"
10262
runs-on: ubuntu-22.04
@@ -111,7 +71,6 @@ jobs:
11171
stack: ["heroku-20", "heroku-22", "heroku-24"]
11272
steps:
11373
- uses: actions/checkout@v4
114-
- run: test/v2
11574
- run: test/jdbc.sh
11675

11776
container-test:

test/compile_test.sh

Lines changed: 0 additions & 79 deletions
This file was deleted.

test/unit

Lines changed: 0 additions & 205 deletions
This file was deleted.

0 commit comments

Comments
 (0)