From bc069f244f68e279cc9190fc8d185220f1a95877 Mon Sep 17 00:00:00 2001 From: amareshhebbar Date: Tue, 4 Aug 2026 18:29:18 +0530 Subject: [PATCH] ci: add test matrix + build-check workflow, issue/PR templates --- .github/workflows/ci.yml | 48 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 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..78e706e --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,48 @@ +name: Issue Loop CI-CD + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.10", "3.11", "3.12", "3.13"] + + steps: + - uses: actions/checkout@v4 + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + + - name: Install package + run: pip install -e ".[dev]" + + - name: Run tests + run: pytest tests/ -v + + build-check: + runs-on: ubuntu-latest + needs: test + steps: + - uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.12" + + - name: Install build tools + run: pip install build twine + + - name: Build package + run: python -m build + + - name: Check package metadata + run: twine check dist/* \ No newline at end of file