From 04f9793c3c3463b885b8662fab22f89ab68e76f7 Mon Sep 17 00:00:00 2001 From: Abdullah Al Mehedi <75137191+Almehedi06@users.noreply.github.com> Date: Fri, 6 Jun 2025 19:37:03 -0400 Subject: [PATCH] Add CI workflow and requirements --- .github/workflows/python.yml | 24 ++++++++++++++++++++++++ requirements.txt | 5 +++++ 2 files changed, 29 insertions(+) create mode 100644 .github/workflows/python.yml create mode 100644 requirements.txt diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml new file mode 100644 index 0000000..2b9f608 --- /dev/null +++ b/.github/workflows/python.yml @@ -0,0 +1,24 @@ +name: CI + +on: + push: + branches: [ main ] + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: '3.10' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + pip install flake8 pytest + - name: Lint with flake8 + run: flake8 . + - name: Run tests + run: pytest -q diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..d6ce3d5 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,5 @@ +pandas +numpy +scikit-learn +tensorflow +PyYAML