Skip to content

Commit 4f509c2

Browse files
authored
Merge branch 'main' into 1388-make-sas9-servername-configurable
2 parents 8b3a3e5 + 23aa346 commit 4f509c2

File tree

9 files changed

+291
-654
lines changed

9 files changed

+291
-654
lines changed

.github/workflows/run-tests-windows.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,26 +16,16 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v2
19+
1920
- name: Use Node.js ${{ matrix.node-version }}
2021
uses: actions/setup-node@v2
2122
with:
2223
node-version: ${{ matrix.node-version }}
2324
cache: npm
25+
2426
- uses: ssciwr/doxygen-install@v1
2527
with:
26-
version: "1.9.3"
27-
# - name: Install Doxygen
28-
# run: choco install doxygen.install
29-
#
30-
# `choco install doxygen.install` is unreliable
31-
32-
# - name: Install Doxygen
33-
# run: |
34-
# git clone https://github.com/sasjs/doxygen-installer.git
35-
# .\doxygen-installer\install.bat
36-
37-
# - name: Add doxygen to path
38-
# run: echo "C:\Program Files\doxygen\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
28+
version: '1.9.3'
3929

4030
- name: Check doxygen version
4131
run: doxygen -v

.github/workflows/run-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,13 @@ jobs:
2323
node-version: ${{ matrix.node-version }}
2424
cache: npm
2525

26-
# - name: Check npm audit
27-
# run: npm audit --production --audit-level=low
26+
# - name: Check npm audit
27+
# run: npm audit --production --audit-level=low
2828

2929
- name: Install production dependencies (fail if any warning)
3030
run: |
3131
npm ci --omit=dev --ignore-scripts
32-
# sh ./npm-production-install.sh
33-
32+
# sh ./npm-production-install.sh
3433
- name: Install dependencies
3534
run: |
3635
npm config set registry http://registry.npmjs.org
@@ -62,6 +61,7 @@ jobs:
6261
uses: artiomtr/jest-coverage-report-action@v2.0-rc.2
6362
with:
6463
github-token: ${{ secrets.GITHUB_TOKEN }}
64+
test-script: npx jest --config=jest.config.js --silent --runInBand --ci --coverage --testLocationInResults --json --outputFile="report.json"
6565

6666
- name: install pm2 for process management
6767
run: npm i -g pm2

bin/sasjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
#!/usr/bin/env node
22

3-
require = require("esm")(module /*, options*/);
4-
require("../src/cli").cli(process.argv);
3+
require("../src/cli").cli(process.argv);

jest.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ module.exports = {
4343
// An object that configures minimum threshold enforcement for coverage results
4444
coverageThreshold: {
4545
global: {
46-
statements: 73.51,
47-
branches: 60.57,
48-
functions: 73.56,
49-
lines: 74.12
46+
statements: 73,
47+
branches: 60.55,
48+
functions: 73.54,
49+
lines: 74
5050
}
5151
},
5252

0 commit comments

Comments
 (0)