Clyde/.gitea/workflows/backend.yaml
Anthony Debucquoy 853a3a42d2
Some checks failed
Build and test backend / Build-backend (pull_request) Successful in 1m45s
Build and test backend / Test-backend (pull_request) Failing after 3m25s
Build and test FrontEnd / Build-frontend (pull_request) Successful in 25s
Small improvement
2024-03-18 02:14:36 +01:00

33 lines
752 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 -x test
Test-backend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'temurin'
- run: curl -fsSL https://get.docker.com | sh
- uses: gradle/gradle-build-action@v3
- name: testing
run: ./gradlew backend:test