From 8cfe7d018d81150a60c316e5d1598dbb117b7833 Mon Sep 17 00:00:00 2001 From: ArnauBN <117755502+ArnauBN@users.noreply.github.com> Date: Sun, 1 Jun 2025 16:35:52 +0200 Subject: [PATCH] add pytest workflow --- .github/workflows/pytest.yaml | 27 +++++++++++++++++++++++++++ requirements.txt | Bin 0 -> 296 bytes 2 files changed, 27 insertions(+) create mode 100644 .github/workflows/pytest.yaml create mode 100644 requirements.txt diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml new file mode 100644 index 0000000..e1195f1 --- /dev/null +++ b/.github/workflows/pytest.yaml @@ -0,0 +1,27 @@ +# .github/workflows/pytest.yml +name: Run Pytest + +on: + pull_request: + branches: [ main ] + +jobs: + pytest: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.13" + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + + - name: Run pytest + run: pytest diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..2285d4886767c4d2e824cbf8075b98dbcc887109 GIT binary patch literal 296 zcmZ{fT?)c55QM*H!K+A9ZSlpkh!hQ?jlopV%d4{s)q+TvC1iGf@_Ke$I15*H^uk7` zV!=vinKR=^5^OJV&@K8-Ej|d9@AN##f~oB_(EM;)_S_jX6GcAeS0;+lE2~AvNi%x( rnD=$eYJ3wLCyDJR&w5x&(X>8mF-xKGrh_-NKSlmGvfl?+)vkI2-%Bmm literal 0 HcmV?d00001