Обновить .gitea/workflows/run-junit.yaml
Some checks failed
tests / run_tests (push) Failing after 1m7s
Some checks failed
tests / run_tests (push) Failing after 1m7s
This commit is contained in:
parent
600a4a7922
commit
8ba20b5c61
@ -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
|
Loading…
x
Reference in New Issue
Block a user