Skip to content

Implement Connect4 game #2

Implement Connect4 game

Implement Connect4 game #2

Workflow file for this run

name: Test Python Package Installation
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
install:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Extract branch name
id: branch
run: echo "BRANCH=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Install package from current branch
run: pip install --upgrade git+https://github.com/jparisu/sIArena.git@${BRANCH}
- name: Run tests
run: pytest