Skip to content

Commit

Permalink
refactor<maven.yml>: refactoring github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabrielsilvamagalhaes committed May 25, 2024
1 parent 00cda03 commit e496b99
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,13 @@ jobs:
with:
java-version: '17'
distribution: 'adopt'
- name: List files
run: ls -la
- name: Build with Maven
working-directory: Restaurant-Api/pom.xml
run: mvn clean install
- name: Run tests
working-directory: Restaurant-Api/src/test/java/com/restaurant/a3/RestaurantApi
run: mvn test
env:
SPRING_DATASOURCE_URL: jdbc:postgresql://localhost:5432/project-api-restaurant
Expand Down

0 comments on commit e496b99

Please sign in to comment.