Adaptation de l'action à ce repo
All checks were successful
Gradle Test / test (push) Successful in 1m6s
All checks were successful
Gradle Test / test (push) Successful in 1m6s
This commit is contained in:
parent
ae6683dfa4
commit
56bdaee2a2
2 changed files with 2 additions and 30 deletions
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
java -version
|
||||
|
||||
- name: Grant execute permission for Gradle wrapper
|
||||
run: chmod +x panier/gradlew
|
||||
run: chmod +x gradlew
|
||||
|
||||
- name: Run Gradle tests
|
||||
run: cd panier && ./gradlew test
|
||||
run: ./gradlew test
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
name: Gradle Test
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "*" # Runs on all branches
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: data.forgejo.org/oci/node:20-bullseye
|
||||
options: "--user root"
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install JDK 17 Manually
|
||||
run: |
|
||||
apt update
|
||||
apt install -y openjdk-17-jdk
|
||||
java -version
|
||||
|
||||
- name: Grant execute permission for Gradle wrapper
|
||||
run: chmod +x feeCalculator/gradlew
|
||||
|
||||
- name: Run Gradle tests
|
||||
run: cd feeCalculator && ./gradlew test
|
||||
Loading…
Add table
Reference in a new issue