Skip to content

Commit

Permalink
test backend
Browse files Browse the repository at this point in the history
  • Loading branch information
jorbush committed Sep 19, 2024
1 parent e13771e commit 3191771
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/spring-boot-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Spring Boot Tests

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
maven-test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: postrify-backend
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: '17'

- name: Build with Maven
run: ./mvnw clean install

- name: Run tests
run: ./mvnw test

0 comments on commit 3191771

Please sign in to comment.