From 2316259765b757c87b8f4844898d9b3cf554e5e5 Mon Sep 17 00:00:00 2001 From: hangpersonal Date: Tue, 26 Aug 2025 00:15:06 -0700 Subject: [PATCH] first commit --- .gitea/workflows/ci.yml | 24 ++++++++++++++++++++++++ app/requirements.txt | 3 +++ 2 files changed, 27 insertions(+) create mode 100644 .gitea/workflows/ci.yml create mode 100644 app/requirements.txt diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml new file mode 100644 index 0000000..d35ce61 --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -0,0 +1,24 @@ +name: CI Workflow + +on: + push: + branches: + - "**" + +jobs: + build-and-test: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v1 + + - name: Set up Python + uses: actions/setup-python@v1 + with: + python-version: "3.10" + + - name: Install dependencies + run: pip install -r app/requirements.txt + + - name: Run tests + run: pytest -v \ No newline at end of file diff --git a/app/requirements.txt b/app/requirements.txt new file mode 100644 index 0000000..4002e7b --- /dev/null +++ b/app/requirements.txt @@ -0,0 +1,3 @@ +numpy==1.26.4 +requests>=2.31 +pytest \ No newline at end of file