feat(web): java from python
Some checks failed
Build, Test and Deploy / build-and-push (push) Has been cancelled
Build, Test and Deploy / deploy (push) Has been cancelled
Build, Test and Deploy / test-backend (push) Has been cancelled

This commit is contained in:
2026-02-02 19:40:58 +01:00
parent 316c74e299
commit ceeb831a41
41 changed files with 891 additions and 5008 deletions

View File

@@ -15,17 +15,17 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
# Evito actions/setup-python (spesso fragile su act_runner)
- name: Install Python deps + run tests
shell: bash
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Run Tests with Maven
run: |
apt-get update
apt-get install -y --no-install-recommends python3 python3-pip
python3 -m pip install --upgrade pip
python3 -m pip install -r backend/requirements.txt
python3 -m pip install pytest httpx
export PYTHONPATH="${PYTHONPATH}:$(pwd)/backend"
pytest backend/tests
cd backend
mvn test
build-and-push:
needs: test-backend