dbeaver/pro#7618 added lsp tests to cb #5708
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |