Add agile reports #135
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: BE Dev PR pipeline. | |
on: | |
pull_request: | |
branches: ["development"] | |
jobs: | |
build: | |
name: Dev PR Pipeline Back End | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: 'back_end' # Update this if your project files are in a specific directory | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: 17 | |
distribution: 'adopt' | |
- name: Set Up Gradle | |
run: | | |
chmod +x gradlew | |
./gradlew wrapper | |
- name: Build Project | |
run: | | |
chmod +x gradlew | |
./gradlew build | |
- name: Check formatting | |
run: | | |
chmod +x gradlew | |
./gradlew check | |
- name: Run Tests | |
run: | | |
chmod +x gradlew | |
./gradlew test | |
- name: Generate Coverage Report | |
run: | | |
chmod +x gradlew | |
./gradlew jacocoTestReport | |
- name: Check Coverage | |
run: | | |
chmod +x gradlew | |
./gradlew jacocoTestCoverageVerification |