Skip to content

Commit b0a1c3c

Browse files
install mocha
1 parent ccb726e commit b0a1c3c

File tree

1 file changed

+11
-15
lines changed

1 file changed

+11
-15
lines changed

.github/workflows/encryption-tests.yml

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,12 @@ permissions:
1010
id-token: write
1111

1212
jobs:
13-
set-up:
13+
run-tests:
1414
permissions:
1515
# required for all workflows
1616
security-events: write
1717
id-token: write
1818
contents: write
19-
runs-on: ubuntu-latest
20-
steps:
21-
- name: Install mongodb-client-encryption
22-
run: npm install mongodb-client-encryption
23-
24-
run-tests:
25-
needs:
26-
- set-up
2719
runs-on: ${{ matrix.os }}
2820
strategy:
2921
fail-fast: false
@@ -40,17 +32,19 @@ jobs:
4032
env:
4133
FORCE_COLOR: true
4234
steps:
35+
# - name: Install mongodb-client-encryption
36+
# run: npm install mongodb-client-encryption
4337
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
4438
- name: Setup node
4539
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
4640
with:
4741
node-version: latest
48-
- name: Load MongoDB binary cache
49-
id: cache-mongodb-binaries
50-
uses: actions/cache@v4
51-
with:
52-
path: ~/.cache/mongodb-binaries
53-
key: ${{ matrix.os }}-${{ matrix.mongodb }}
42+
#- name: Load MongoDB binary cache
43+
# id: cache-mongodb-binaries
44+
# uses: actions/cache@v4
45+
# with:
46+
# path: ~/.cache/mongodb-binaries
47+
# key: ${{ matrix.os }}-${{ matrix.mongodb }}
5448
- name: Install Dependencies
5549
run: npm install
5650
- name: Set up cluster
@@ -60,6 +54,8 @@ jobs:
6054
version: ${{ matrix.mongodb }}
6155
topology: sharded_cluster
6256
auth: auth
57+
- name: Install mocha
58+
run: brew install mocha
6359
- name: Run Tests
6460
run: mocha --exit ./test/encryption/*.test.js
6561
env:

0 commit comments

Comments
 (0)