From ac0a32616600fe32bdf68a39dd00bb5cedc2d183 Mon Sep 17 00:00:00 2001 From: Marco D'Aleo Date: Fri, 9 Oct 2026 18:01:26 +0100 Subject: [PATCH] Update workflows and tests --- .gitea/workflows/lint-and-security.yml | 25 +++++++++++++++++++++++++ .github/workflows/lint-and-security.yml | 25 +++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/.gitea/workflows/lint-and-security.yml b/.gitea/workflows/lint-and-security.yml index b6f1f6c..b45437b 100644 --- a/.gitea/workflows/lint-and-security.yml +++ b/.gitea/workflows/lint-and-security.yml @@ -77,3 +77,28 @@ jobs: and ( [ .dependencies[] | (.vulns // [])[] | select((.fix_versions | length) > 0) ] | length == 0 ) ' pip-audit.json + + tests: + name: tests + runs-on: ubuntu-latest + timeout-minutes: 15 + + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + persist-credentials: false + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.13" + + - name: Install Poetry + run: pip install "poetry>=2,<3" + + - name: Install project and dependencies + run: poetry install --with dev + + - name: Run tests + run: poetry run pytest diff --git a/.github/workflows/lint-and-security.yml b/.github/workflows/lint-and-security.yml index b6f1f6c..b45437b 100644 --- a/.github/workflows/lint-and-security.yml +++ b/.github/workflows/lint-and-security.yml @@ -77,3 +77,28 @@ jobs: and ( [ .dependencies[] | (.vulns // [])[] | select((.fix_versions | length) > 0) ] | length == 0 ) ' pip-audit.json + + tests: + name: tests + runs-on: ubuntu-latest + timeout-minutes: 15 + + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + persist-credentials: false + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.13" + + - name: Install Poetry + run: pip install "poetry>=2,<3" + + - name: Install project and dependencies + run: poetry install --with dev + + - name: Run tests + run: poetry run pytest