From daecde196cd191403e3b0c9d78a26580332d8dd7 Mon Sep 17 00:00:00 2001 From: Mateusz Andrzejewski Date: Sat, 17 Jan 2026 23:33:18 +0100 Subject: [PATCH] feat: add github actions workflow configuration --- .github/workflows/ci.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 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..de007b9 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,30 @@ +name: CI Pipeline + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Set up Python 3.10 + 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 + # Instalujemy pytest, jeśli nie ma go w requirements (ale u Ciebie jest) + pip install pytest httpx + + - name: Run Tests + run: | + pytest tests/ \ No newline at end of file