Skip to content

ci: ajout tests backend api #1

ci: ajout tests backend api

ci: ajout tests backend api #1

Workflow file for this run

name: CI devops 2023
on:
#to begin you want to launch this job in main and develop
push:
branches: #TODO
pull_request:
jobs:
test-backend:
runs-on: ubuntu-22.04
steps:
#checkout your github code using actions/[email protected]
- uses: actions/[email protected]
#do the same with another action (actions/setup-java@v3) that enable to setup jdk 17
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '21'
#finally build your app with the latest command
- name: Build and test with Maven
run: cd backend-api && mvn clean verify