Skip to content

chore(ci): fix a typo in minigo.yml #10

chore(ci): fix a typo in minigo.yml

chore(ci): fix a typo in minigo.yml #10

Workflow file for this run

name: MiniGo CI
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "main" ]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Cache Docker layers
uses: actions/cache@v3
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Set up Docker Compose
run: |
docker compose build
- name: Run tests
run: |
docker compose run --rm minigo \
/bin/bash -c "cd MiniGo/src && python main.py gen && ./test.sh all"
- name: Debug on failure
if: failure()
run: |
echo "=== Last 50 lines of test output ==="
docker run --rm $DOCKER_IMAGE \
tail -n 50 /app/MiniGo/src/test.log || true