Обновить .gitea/workflows/run-junit.yaml
Some checks failed
tests / run_tests (push) Failing after 7s
Some checks failed
tests / run_tests (push) Failing after 7s
This commit is contained in:
parent
8ba20b5c61
commit
79a8c98784
@ -6,20 +6,9 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout the repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Set up JDK 11
|
||||
uses: actions/setup-java@v1
|
||||
- name: Setup Maven Action
|
||||
uses: s4u/setup-maven-action@1.15.0
|
||||
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