Skip to content

Commit

Permalink
Revert "add local pre-req script to bail early if tests will fail" (#…
Browse files Browse the repository at this point in the history
…2084)

Revert "add local pre-req script to bail early if tests will fail (#2083)"

This reverts commit dc9971f.
  • Loading branch information
xavdid-stripe committed May 7, 2024
1 parent dc9971f commit 14e485c
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions Makefile
@@ -1,4 +1,4 @@
.PHONY: codegen-format update-version test check-prereqs ci-test
.PHONY: codegen-format update-version test ci-test
update-version:
@echo "$(VERSION)" > VERSION
@perl -pi -e 's|"version": "[.\-\d\w]+"|"version": "$(VERSION)"|' package.json
Expand All @@ -10,10 +10,4 @@ codegen-format:
ci-test:
yarn && yarn test

check-prereqs:
# tests depend on `deno` being available
@command -v deno >/dev/null 2>&1 || { echo "Error: deno is not installed." >&2; exit 1; }
# stripe mock must be running; check its default port for a listener
@lsof -i :12112 >/dev/null 2>&1 || { echo "Error: stripe-mock is not running (on port 12112)." >&2; exit 1; }

test: check-prereqs ci-test
test: ci-test

0 comments on commit 14e485c

Please sign in to comment.