From d73f50945772d0d2cfd8d761b769b5a59a80a172 Mon Sep 17 00:00:00 2001 From: Kar Petrosyan <92274156+karosis88@users.noreply.github.com> Date: Sat, 30 Sep 2023 11:31:58 +0300 Subject: [PATCH] Create python-package.yml --- .github/workflows/python-package.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/python-package.yml diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml new file mode 100644 index 0000000..eec5235 --- /dev/null +++ b/.github/workflows/python-package.yml @@ -0,0 +1,27 @@ +name: Tests + +on: + push: + branches: ["master"] + pull_request: + branches: ["master"] + +jobs: + tests: + name: "Python ${{ matrix.python-version }}" + runs-on: "ubuntu-latest" + + strategy: + matrix: + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12" ] + + steps: + - uses: "actions/checkout@v4" + - uses: "actions/setup-python@v4" + with: + python-version: "${{ matrix.python-version }}" + allow-prereleases: true + - name: "Install dependencies" + run: scripts/install + - name: "Run tests" + run: scripts/test