From 424d1d81356597ebc532bd18ed079f5f9b296649 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Wed, 13 May 2020 00:32:34 +0200 Subject: [PATCH] npx doctest Sorts/BogoSort.js || true --- .github/workflows/nodejs.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index d0a4ecba8..076923aac 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -15,8 +15,11 @@ jobs: - name: npm install, build, and test run: | npm install doctest standard --save-dev - doctest Sorts/BogoSort.js - # node -e "doctest('Sorts/BogoSort.js', {})" //--module Sorts + pwd + ls -la + doctest Sorts/BogoSort.js || true + npx doctest Sorts/BogoSort.js || true + node -e "doctest('Sorts/BogoSort.js', {})" || true # npm install standard --save-dev npx standard cd Linear-Algebra-Javascript