Skip to content

Commit 273e9f6

Browse files
authored
Merge pull request #624 from UTDNebula/internal/merge-validator
chore(NP-28): Merge degree validator
2 parents 0fe16e3 + 11f4873 commit 273e9f6

File tree

107 files changed

+27549
-1
lines changed

Some content is hidden

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

107 files changed

+27549
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
branches:
77
- 'develop'
88
- 'main'
9+
paths-ignore:
10+
- 'validator/**'
911

1012
jobs:
1113
build:

.github/workflows/delete-neon-branch.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
pull_request:
99
types:
1010
- closed
11+
paths-ignore:
12+
- 'validator/**'
1113
workflow_dispatch:
1214

1315
jobs:

.github/workflows/deploy-preview.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
pull_request:
55
branches:
66
- 'develop'
7+
paths-ignore:
8+
- 'validator/**'
79
workflow_dispatch:
810

911
env:

.github/workflows/format.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: Check Formatting
33
on:
44
workflow_dispatch:
55
pull_request:
6+
paths-ignore:
7+
- 'validator/**'
68

79
jobs:
810
eslint:

.github/workflows/tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
branches:
77
- 'develop'
88
- 'main'
9+
paths-ignore:
10+
- 'validator/**'
911

1012
jobs:
1113
integration-tests:
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Build Validator
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
paths:
7+
- 'validator/**'
8+
9+
jobs:
10+
release:
11+
name: Test validator
12+
runs-on: ubuntu-latest
13+
defaults:
14+
run:
15+
working-directory: validator
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v3
19+
20+
- uses: actions/setup-python@v4
21+
with:
22+
python-version: '3.10'
23+
24+
- name: Install dependencies
25+
run: |
26+
pip3 install -r requirements.txt
27+
28+
- name: Run tests
29+
run: |
30+
pytest --verbose
31+
32+
- name: Run type checker
33+
run: |
34+
mypy .

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ yarn-error.log*
4545
# Don't want IDE/code editor files in this repository
4646
# See docs/ide-config.md for more information.
4747
.idea
48-
.vscode
4948
.vs/
5049

5150
prisma/generated

.vercelignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
validator/
2+
tests/
3+
cypress/
4+
cypress.config.ts
5+
.github/
6+
.vscode/

.vscode/workspace.code-workspace

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"folders": [
3+
{ "path": "../", "name": "root" },
4+
{
5+
"path": "../validator",
6+
"name": "validator"
7+
}
8+
],
9+
"settings": {
10+
"files.exclude": {
11+
"validator/": true
12+
}
13+
}
14+
}

validator/.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
NEBULA_API_KEY=your_api_key

0 commit comments

Comments
 (0)