Skip to content

Commit

Permalink
Add new CI workflow.
Browse files Browse the repository at this point in the history
Signed-off-by: Yury-Fridlyand <[email protected]>
  • Loading branch information
Yury-Fridlyand committed Oct 13, 2022
1 parent c470e7d commit 0a8b18d
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/sql-doctest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: SQL Doctest CI

on:
pull_request:
push:
branches-ignore:
- 'dependabot/**'
paths:
- '**/*.java'
- '**/*.g4'
- '!sql-jdbc/**'
- '**gradle*'
- '**/*.jar'
- '**/*.pom'
- 'doctest/**'
- 'docs/**'
- '.github/workflows/sql-doctest.yml'

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Build with Gradle
run: ./gradlew :doctest:doctest
4 changes: 3 additions & 1 deletion doctest/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ task stopOpenSearch(type: KillProcessTask)
doctest.dependsOn startOpenSearch
doctest.finalizedBy stopOpenSearch

//build.dependsOn doctest
// Deactivate doctest in the main gradle workflow (./gradlew build), because doctest depends
// on ML plugin and it ruins SQL plugin build if ML plugin is not available (not released)
// build.dependsOn doctest
clean.dependsOn(cleanBootstrap)

// 2.0.0-alpha1-SNAPSHOT -> 2.0.0.0-alpha1-SNAPSHOT
Expand Down

0 comments on commit 0a8b18d

Please sign in to comment.