From b6e4bdfed93679f179ed77b8fa58e0c5149cf68c Mon Sep 17 00:00:00 2001 From: Humberto Henrique Campos Pinheiro Date: Fri, 23 Aug 2024 16:31:07 -0300 Subject: [PATCH] add github workflow --- .github/workflows/python-test.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/python-test.yml diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml new file mode 100644 index 0000000..91a7545 --- /dev/null +++ b/.github/workflows/python-test.yml @@ -0,0 +1,28 @@ +name: PyOthello + +on: + push: + branches: ["master"] + pull_request: + branches: ["master"] + +jobs: + test: + runs-on: ubuntu-latest + + strategy: + matrix: + python-version: ["3.11"] + + steps: + - name: Check out repository code + uses: actions/checkout@v3 + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + + - name: Run tests + run: | + pytest