Skip to content

Commit ee9ec3b

Browse files
Merge pull request #20 from iExecBlockchainComputing/feature/add-category-unit-tests
Add category unit tests
2 parents cacdd58 + 1614600 commit ee9ec3b

File tree

10 files changed

+1621
-1051
lines changed

10 files changed

+1621
-1051
lines changed

.github/workflows/main.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
on:
2+
push:
3+
branches:
4+
- feature/*
5+
- bugfix/*
6+
- develop
7+
- release/*
8+
- hotfix/*
9+
- main
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
- name: Init
18+
run: npm ci
19+
- name: Run unit tests
20+
run: npm run test
21+
- name: Test build
22+
run: npm run build

.github/workflows/nodejs.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ node_modules
22
build
33
generated
44
yarn.lock
5+
test/.bin

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lint-staged

.prettierrc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"printWidth": 100,
3+
"singleQuote": true,
4+
"tabWidth": 4,
5+
"trailingComma": "all",
6+
"endOfLine": "auto",
7+
"plugins": [
8+
"prettier-plugin-organize-imports"
9+
]
10+
}

matchstick.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
testsFolder: test
2+
manifestPath: subgraph.template.yaml

0 commit comments

Comments
 (0)