-
-
Notifications
You must be signed in to change notification settings - Fork 49
51 lines (51 loc) · 1.47 KB
/
test-slow.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: Run slow JS tests
on:
schedule:
- cron: '0 12 * * *'
workflow_dispatch:
jobs:
big:
name: Test large inputs
runs-on: ubuntu-latest
env:
MSHOULD_FAST: 1
steps:
- uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2 # v4
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4
with:
node-version: 22.13.0
registry-url: 'https://registry.npmjs.org'
cache: npm
- run: npm install
- run: npm run build --if-present
- run: npm run test:big
dos:
name: Test for DoS
runs-on: ubuntu-latest
env:
MSHOULD_FAST: 1
steps:
- uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2 # v4
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4
with:
node-version: 22.13.0
registry-url: 'https://registry.npmjs.org'
cache: npm
- run: npm install
- run: npm run build --if-present
- run: npm run test:dos
kdf:
name: Test slow KDFs
runs-on: ubuntu-latest
env:
MSHOULD_FAST: 1
steps:
- uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2 # v4
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4
with:
node-version: 22.13.0
registry-url: 'https://registry.npmjs.org'
cache: npm
- run: npm install
- run: npm run build --if-present
- run: npm run test:kdf