Skip to content

Commit 07bafac

Browse files
committed
add bdd tests
1 parent b4af128 commit 07bafac

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+4390
-17
lines changed

.github/actions/setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ runs:
77
id: nodejs
88
uses: actions/setup-node@v3
99
with:
10-
node-version: 16.x
10+
node-version: 18.x
1111
cache: npm
1212

1313
- name: Cache node modules

.github/workflows/bdd-full.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: BDD Full Tests
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
7+
jobs:
8+
full-tests:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- uses: ./.github/actions/setup
13+
- name: Run BDD Full Tests
14+
run: npm run test:full

.github/workflows/bdd-smoke.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: BDD Smoke Tests
2+
3+
on:
4+
push:
5+
branches: ['**']
6+
7+
jobs:
8+
smoke-tests:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- uses: ./.github/actions/setup
13+
- name: Run BDD Smoke Tests
14+
run: npm run test:smoke

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ assets
1717
mainnet_base.html
1818
mainnet_base.json
1919
mochawesome-report
20+
tests/reports/

0 commit comments

Comments
 (0)