Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreOucif committed Nov 20, 2024
1 parent 3af2199 commit 87a4526
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/backend-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,32 +17,9 @@ on:
default: false

jobs:
build:
name: Build
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Java setup
uses: ./.github/actions/java-setup

- name: Maven build
run: ./mvnw clean install -T 4 -DskipTests -DskipITs -DskipUTs

- name: Upload jar file as artifact
uses: actions/upload-artifact@v4
with:
name: marketplace-api.jar
path: bootstrap/target/marketplace-api.jar
if-no-files-found: error

unit_tests:
name: Unit tests
runs-on: ubuntu-latest
needs: [ build ]
steps:
- name: Checkout repo
uses: actions/checkout@v4
Expand All @@ -67,7 +44,6 @@ jobs:
suite: [ Accounting, BO, Concurrency, Me, Project, Reward, User, BI, Others, Postgres ]
name: ITs [${{ matrix.suite }}]
runs-on: ubuntu-latest
needs: [ build ]
steps:
- name: Checkout repo
uses: actions/checkout@v4
Expand Down

0 comments on commit 87a4526

Please sign in to comment.