feat(tahoiya): 任意たほいやAI参加者をgpt-5.4-miniに切り替え、正解非公開の候補生成方式に変更 #3846
Workflow file for this run
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: Test | |
| on: | |
| - push | |
| - pull_request | |
| jobs: | |
| test-js: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup Tools | |
| uses: asdf-vm/actions/install@v3 | |
| with: | |
| # https://github.com/asdf-vm/actions/issues/587 | |
| asdf_branch: v0.15.0 | |
| - name: Before Install | |
| run: | | |
| mkdir -p shogi/boards | |
| touch shogi/boards/temp.sqlite3 | |
| - run: npm ci | |
| - name: Typecheck files not covered by tests | |
| run: npx tsgo --noEmit | |
| env: | |
| NODE_OPTIONS: --max-old-space-size=8192 | |
| - name: Test | |
| run: npm run test:coverage | |
| env: | |
| NODE_OPTIONS: --trace-warnings --trace-deprecation --trace-exit --trace-uncaught --unhandled-rejections=strict --max-old-space-size=8192 | |
| - name: Set up reviewdog | |
| if: ${{ github.event_name == 'pull_request' }} | |
| uses: reviewdog/action-setup@v1 | |
| with: | |
| reviewdog_version: latest | |
| - name: Run reviewdog | |
| continue-on-error: true | |
| if: ${{ github.event_name == 'pull_request' }} | |
| env: | |
| REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| git ls-files | grep eslintrc | xargs -L 1 dirname | paste -sd ' ' | xargs -I {} sh -c "npx eslint --ext js,ts -f rdjson {} | reviewdog -f=rdjson -name=ESLint -reporter=github-pr-review" | |
| - name: codecov | |
| continue-on-error: true | |
| run: npx codecov | |
| test-rust: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup Tools | |
| uses: asdf-vm/actions/install@v3 | |
| with: | |
| # https://github.com/asdf-vm/actions/issues/587 | |
| asdf_branch: v0.15.0 | |
| - name: build | |
| run: cargo build --all --verbose | |
| - name: test | |
| run: cargo test --all --verbose |