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