From 4b24ed0300501d9879172bf979b812c9a8190bcd Mon Sep 17 00:00:00 2001 From: Moses Prasad Varghese <91667726+moses-varghese@users.noreply.github.com> Date: Wed, 16 Jul 2025 22:07:56 +0530 Subject: [PATCH] Create ci.yml --- .github/workflows/ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..efaf034 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +# .github/workflows/ci.yml + +name: Run Tests + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.9", "3.10"] + + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + pip install pytest + - name: Run tests + run: | + pytest