Skip to content

deploy

deploy #59

Workflow file for this run

name: test-backend
on:
push:
branches:
- main
- develop
pull_request:
jobs:
test-backend:
runs-on: ubuntu-22.04
steps:
- uses: actions/[email protected]
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
- name: Build and test with Maven
run: mvn -B verify sonar:sonar -Dsonar.projectKey=davijea_devops -Dsonar.organization=davijea -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=${{ secrets.SONAR_TOKEN }} --file simpleapi-student/simple-api-student-main/pom.xml