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