Fix workflows

This commit is contained in:
c-bata
2024-03-27 07:50:22 +09:00
parent 8be15734f8
commit e6107cc275
8 changed files with 107 additions and 33 deletions
+32
View File
@@ -62,3 +62,35 @@ jobs:
run: |
npm install
npm run test
test-tslib:
name: Run tests
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@master
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
architecture: x64
- name: Generate test asset
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: Setup Node
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Build test
run: make tslib
- name: Run tslib test
working-directory: tslib/storage
run: |
npm run test