1
0

Обновить .gitea/workflows/run-junit.yaml
Some checks failed
tests / run_tests (push) Failing after 1m7s

This commit is contained in:
Владимир Шперлинг 2024-10-29 20:04:12 +00:00
parent 600a4a7922
commit 8ba20b5c61

View File

@ -10,5 +10,16 @@ jobs:
uses: actions/setup-java@v1 uses: actions/setup-java@v1
with: with:
java-version: 11 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 - name: Run tests with Maven
run: mvn -B test --file pom.xml run: mvn -B test --file pom.xml