Skip to content

atelier 3/card(feat): ajout achat cartes (#13) #9

atelier 3/card(feat): ajout achat cartes (#13)

atelier 3/card(feat): ajout achat cartes (#13) #9

Workflow file for this run

name: Build and Test
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'temurin'
- name: Build with Maven
run: mvn clean install
- name: Test with Maven
run: mvn clean verify
- name: SonarQube Scan
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: mvn sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.projectKey=cpe-divers-cours_cpe-cours -Dsonar.coverage.jacoco.xmlReportPaths=$(pwd)/coverage-aggregate/target/site/jacoco-aggregate/jacoco.xml