Skip to content

Commit

Permalink
Merge pull request #1 from DanielBarton446/DanielBarton446-patch-1
Browse files Browse the repository at this point in the history
initial ci cd
  • Loading branch information
StoryKnight authored Mar 23, 2024
2 parents 77558c6 + dde3f4b commit bbf6b9e
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Pylint

on: [push]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
pip install black
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')
black $(git ls-files '*.py')
2 changes: 2 additions & 0 deletions dev_requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
black
pylint
Empty file added shogi-ai/main.py
Empty file.

0 comments on commit bbf6b9e

Please sign in to comment.