mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-10-13 07:47:05 +08:00
* dbeaver/pro#5394 feat: null and boolean formatter for base grid * feat: reuse base grid formatters * chore: try to adjust workflow concurrency * chore: trigger workflow * chore: trigger workflow cancel * chore: fix label styles --------- Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
65 lines
1.7 KiB
YAML
65 lines
1.7 KiB
YAML
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
- synchronize
|
|
- reopened
|
|
push:
|
|
branches: [devel]
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.ref_name }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build-server:
|
|
uses: dbeaver/dbeaver-common/.github/workflows/mvn-package.yml@devel
|
|
name: Check
|
|
secrets: inherit
|
|
with:
|
|
mvn-args: -Dplain-api-server -Dheadless-platform
|
|
project-directory: ./cloudbeaver/server/product/aggregate
|
|
project-deps: ./cloudbeaver/project.deps
|
|
timeout-minutes: 5
|
|
|
|
# build-server:
|
|
# name: Server
|
|
# uses: ./.github/workflows/backend-build.yml
|
|
# secrets: inherit
|
|
|
|
build-frontend:
|
|
name: Frontend
|
|
uses: ./.github/workflows/frontend-build.yml
|
|
secrets: inherit
|
|
|
|
lint-server:
|
|
name: Server
|
|
uses: dbeaver/dbeaver-common/.github/workflows/java-checkstyle.yml@devel
|
|
secrets: inherit
|
|
|
|
lint-frontend:
|
|
name: Frontend
|
|
uses: ./.github/workflows/frontend-lint.yml
|
|
secrets: inherit
|
|
|
|
# call-frontend-tests:
|
|
# name: Frontend Unit Tests
|
|
# needs: call-frontend-build
|
|
# runs-on: ubuntu-latest
|
|
# steps:
|
|
# - name: Check if tests passed
|
|
# if: ${{ needs.call-frontend-build.outputs.test-status != 'success' }}
|
|
# run: |
|
|
# echo "Tests failed"
|
|
# exit 1
|
|
# - name: Continue if tests passed
|
|
# if: ${{ needs.call-frontend-build.outputs.test-status == 'success' }}
|
|
# run: echo "Tests passed"
|
|
|
|
# call-docker-build-and-push:
|
|
# name: Run
|
|
# needs: [call-backend-build, call-frontend-build]
|
|
# uses: ./.github/workflows/docker-build-and-push.yml
|