Anthony Debucquoy
bb5d1a6982
All checks were successful
Build and test backend / Build-backend (push) Successful in 2m59s
Build and test backend / Test-backend (push) Successful in 1m13s
deploy to production / deploy-frontend (push) Successful in 24s
Build and test FrontEnd / Build-frontend (push) Successful in 22s
Build and test FrontEnd / Test-frontend (push) Successful in 22s
32 lines
695 B
YAML
32 lines
695 B
YAML
name: Build and test backend
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
Build-backend:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-java@v3
|
|
with:
|
|
java-version: '21'
|
|
distribution: 'temurin'
|
|
- uses: gradle/gradle-build-action@v3
|
|
- name: building
|
|
run: ./gradlew backend:build
|
|
Test-backend:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-java@v3
|
|
with:
|
|
java-version: '21'
|
|
distribution: 'temurin'
|
|
- uses: gradle/gradle-build-action@v3
|
|
- name: building
|
|
run: ./gradlew backend:test
|