From 668d358f009eceba753332ba40406dc165bf0d6b Mon Sep 17 00:00:00 2001 From: yiannisha Date: Thu, 18 Apr 2024 20:43:22 +0300 Subject: [PATCH] Add github actions --- .github/workflows/python-package.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 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..90aa0ea --- /dev/null +++ b/.github/workflows/python-package.yml @@ -0,0 +1,26 @@ +name: Python Library CI + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +job: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + python-version: [ 3.9, 3.10, 3.11 ] + + steps: + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + pip install -r requirements.txt \ No newline at end of file