From 8ba20b5c61b2f2d99e8b3b9a85cbbcbed998d948 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=D0=92=D0=BB=D0=B0=D0=B4=D0=B8=D0=BC=D0=B8=D1=80=20=D0=A8?=
 =?UTF-8?q?=D0=BF=D0=B5=D1=80=D0=BB=D0=B8=D0=BD=D0=B3?=
 <vladimir-shperling@yandex.ru>
Date: Tue, 29 Oct 2024 20:04:12 +0000
Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?=
 =?UTF-8?q?=D1=8C=20.gitea/workflows/run-junit.yaml?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .gitea/workflows/run-junit.yaml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/.gitea/workflows/run-junit.yaml b/.gitea/workflows/run-junit.yaml
index 3b7d88d..976b365 100644
--- a/.gitea/workflows/run-junit.yaml
+++ b/.gitea/workflows/run-junit.yaml
@@ -10,5 +10,16 @@ jobs:
         uses: actions/setup-java@v1
         with:
           java-version: 11
+      - name: Install curl (for nektos/act local CI testing)
+        run: apt-get update && apt-get install build-essential curl pkg-config openssl -y
+      - name: Download Maven
+        run: |
+          curl -sL https://www-eu.apache.org/dist/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.zip -o maven.zip
+          apt-get update
+          apt-get -y install unzip
+          unzip -d /usr/share maven.zip
+          rm maven.zip
+          ln -s /usr/share/apache-maven-3.6.3/bin/mvn /usr/bin/mvn
+          echo "M2_HOME=/usr/share/apache-maven-3.6.3" | tee -a /etc/environment
       - name: Run tests with Maven
         run: mvn -B test --file pom.xml
\ No newline at end of file