Skip to content

Commit b6e4bdf

Browse files
committed
add github workflow
1 parent 61741d1 commit b6e4bdf

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/python-test.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: PyOthello
2+
3+
on:
4+
push:
5+
branches: ["master"]
6+
pull_request:
7+
branches: ["master"]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
python-version: ["3.11"]
16+
17+
steps:
18+
- name: Check out repository code
19+
uses: actions/checkout@v3
20+
21+
- name: Set up Python ${{ matrix.python-version }}
22+
uses: actions/setup-python@v4
23+
with:
24+
python-version: ${{ matrix.python-version }}
25+
26+
- name: Run tests
27+
run: |
28+
pytest

0 commit comments

Comments
 (0)