Enable from position Checkshogi support #481
Workflow file for this run
This file contains 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
# This workflow will install Python dependencies, run lishogi-bot directly in the workflow | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: Lishogi Bot Build | |
on: | |
push: | |
branches: [ master ] | |
pull_request_target: | |
env: | |
BOT_TOKEN: ${{ secrets.BOT_TOKEN }} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
cache: "pip" | |
- name: Install dependencies | |
run: | | |
sudo apt install fairy-stockfish | |
pip install -r requirements.txt | |
- name: Test with pytest | |
run: | | |
pytest tests.py -s |