Skip to content

Integration test cart #395

Integration test cart

Integration test cart #395

Workflow file for this run

name: Lint and Build
on:
pull_request:
branches:
- '*'
push:
branches:
- 'master'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Check code style
uses: axel-op/googlejavaformat-action@v3
with:
args: "--replace"
skip-commit: true
files-excluded: "CartDto.java|CartToItemDto.java|ItemDto.java|TypeDto.java|OrderDto.java|OrderToItemDto.java|PharmacyDto.java|PharmacyToItemDto.java|RoleDto.java|SpecialityDto.java|UserAccountDto.java"
- name: Print diffs
run: git --no-pager diff --exit-code
build:
runs-on: ubuntu-latest
needs: lint
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '19'
distribution: 'temurin'
- name: Build with Maven
run: mvn clean package -DskipTests
# test:
# runs-on: ubuntu-latest
# needs: build
# steps:
# - name: Checkout repository
# uses: actions/checkout@v3
#
# - name: Set up JDK
# uses: actions/setup-java@v3
# with:
# java-version: '19'
# distribution: 'temurin'
#
# - name: Test with Maven
# run: mvn test
#
# - name: Test Coverage
# uses: codecov/codecov-action@v3
# with:
# token: ${{ secrets.CODECOV_TOKEN }}