Skip to content

Commit

Permalink
move legacy validator to its own directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
rwblair committed Oct 15, 2024
1 parent 0b88900 commit fd86b31
Show file tree
Hide file tree
Showing 739 changed files with 408 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/node_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
git config --global user.email "bids.maintenance@gmail.com"
git config --global user.name "bids-maintenance"
- name: Set up Node
working-dir: ./legacy
run: |
npm install -g npm@^7
npm install
Expand All @@ -44,11 +45,14 @@ jobs:
run: git submodule update --init
- name: Jest tests
run: npm run coverage -- --maxWorkers=2 --testTimeout=10000 --colors
working-dir: ./legacy
- name: Upload to codecov
working-dir: ./legacy
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Smoke tests
working-dir: ./legacy
run: |
bids-validator/bin/bids-validator bids-validator/tests/data/valid_headers/ --ignoreNiftiHeaders
bids-validator/bin/bids-validator bids-validator/tests/data/valid_headers/ --ignoreNiftiHeaders --json
4 changes: 3 additions & 1 deletion .github/workflows/schema_web_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@ jobs:
working-directory: ./web
- name: Install NPM deps
run: npm install
working-directory: ./legacy
- name: Build legacy validator website
run: npm run web-export
working-directory: ./legacy
- name: Move legacy validator build into deno website
run: mv bids-validator-web/out web/dist/legacy
run: mv legacy/bids-validator-web/out web/dist/legacy
- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ coverage/
__pycache__/
dist/
*.egg-info/
bids-validator-web/out/
legacy/bids-validator-web/out/
.next/

# Only use global yarn.lock
Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "bids-examples"]
path = bids-validator/tests/data/bids-examples
path = legacy/bids-validator/tests/data/bids-examples
url = https://github.com/bids-standard/bids-examples.git
398 changes: 398 additions & 0 deletions bids-validator/deno.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions bids-validator/tests
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit fd86b31

Please sign in to comment.