Enhance InputLayer to support default values and update tests (#948) #580
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Github Pages | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '.github/**' | |
- 'tests/**' | |
- '.eslintrc.json' | |
- '.gitignore' | |
- '.prettierrc.json' | |
- 'Dockerfile*' | |
- 'docker-compose.yml' | |
- 'LICENSE' | |
- 'package.json' | |
- 'README.md' | |
- 'yarn.lock' | |
jobs: | |
test-lib: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install | |
run: yarn | |
- name: Prepare ONNX | |
run: yarn create-onnx -t | |
- name: Test lib | |
run: yarn test:lib --bail | |
- name: Coveralls | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
test-gui: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Test GUI | |
run: docker compose run --rm test-gui --bail | |
deploy: | |
runs-on: ubuntu-latest | |
needs: [test-lib, test-gui] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install | |
run: yarn | |
- name: Build | |
run: yarn build:gh-pages | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: . | |
exclude_assets: '.github,tests' |