Skip to content

Commit

Permalink
Merge pull request #860 from porink0424/feat/tslib-react-test
Browse files Browse the repository at this point in the history
Implemented tests for `@optuna/react`
  • Loading branch information
c-bata authored Apr 10, 2024
2 parents e826cd7 + de0accd commit 7e9db28
Show file tree
Hide file tree
Showing 12 changed files with 5,297 additions and 1,468 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/typescript-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,21 +77,33 @@ jobs:
python-version: '3.11'
architecture: x64

- name: Generate test asset
- name: Generate test asset for storage
working-directory: tslib/storage/test/
run: |
python -m pip install --progress-bar off --upgrade pip setuptools
pip install --progress-bar off optuna
python generate_assets.py
- name: Generate test asset for react
working-directory: tslib/react/test/
run: |
python generate_assets.py
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '20'
cache: 'npm'

- name: Build test
run: make tslib
- name: Run tslib test

- name: Run tslib test for storage
working-directory: tslib/storage
run: |
npm run test
- name: Run tslib test for react
working-directory: tslib/react
run: |
npm run test
7 changes: 6 additions & 1 deletion standalone_app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7e9db28

Please sign in to comment.