File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4646 node -e "require('./api-generation-test').generate()" > generated.ts
4747 npx tsc --noEmit
4848
49+ bun-unit-tests :
50+ name : Unit tests on Bun
51+ runs-on : ubuntu-latest
52+ steps :
53+ - uses : actions/checkout@v4
54+ - uses : oven-sh/setup-bun@v2
55+ with :
56+ bun-version : latest
57+ # Installs dependencies (incl. the optional kerberos native addon) using Bun.
58+ - run : bun install
59+ # Bun has full CommonJS support, so mocha runs unchanged.
60+ - run : bunx mocha test/unit --recursive -R spec -t 5000
61+
62+ deno-unit-tests :
63+ name : Unit tests on Deno
64+ runs-on : ubuntu-latest
65+ steps :
66+ - uses : actions/checkout@v4
67+ - uses : denoland/setup-deno@v2
68+ with :
69+ deno-version : v2.x
70+ # --allow-scripts runs lifecycle scripts so the kerberos prebuild is fetched.
71+ - run : deno install --allow-scripts
72+ # The driver and its tests are CommonJS; Deno defaults .js to ESM, so
73+ # --unstable-detect-cjs is required to load them as CommonJS modules.
74+ - run : deno run -A --unstable-detect-cjs npm:mocha test/unit --recursive -R spec -t 5000
75+
4976 unit-integration-tests :
5077 runs-on : ubuntu-latest
5178 strategy :
You can’t perform that action at this time.
0 commit comments