Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 26 additions & 4 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,36 @@ on:
branches:
- develop
- rc/*
paths-ignore:
- 'docs/**'
paths:
- '.github/workflows/code-coverage.yml'
- '.mvn/**'
- 'mvnw'
- 'mvnw.cmd'
- 'pom.xml'
- 'checkstyle.xml'
- 'codecov.yml'
- 'compat/compatibility-matrix.csv'
- 'java/**'
- 'cpp/**'
- '!cpp/docs/**'
- '!**.md'
pull_request:
branches:
- develop
- rc/*
paths-ignore:
- 'docs/**'
paths:
- '.github/workflows/code-coverage.yml'
- '.mvn/**'
- 'mvnw'
- 'mvnw.cmd'
- 'pom.xml'
- 'checkstyle.xml'
- 'codecov.yml'
- 'compat/compatibility-matrix.csv'
- 'java/**'
- 'cpp/**'
- '!cpp/docs/**'
- '!**.md'

jobs:
codecov:
Expand Down
30 changes: 27 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,36 @@ on:
branches:
- develop
- rc/*
paths:
- '.github/workflows/codeql.yml'
- '.mvn/**'
- 'mvnw'
- 'mvnw.cmd'
- 'pom.xml'
- 'java/**'
- 'cpp/**'
- 'go/**'
- 'python/**'
Comment thread
ColinLeeo marked this conversation as resolved.
Resolved
- 'packaging/**'
- '!cpp/docs/**'
- '!**.md'
pull_request:
branches:
- develop
- rc/*
paths-ignore:
- 'docs/**'
paths:
- '.github/workflows/codeql.yml'
- '.mvn/**'
- 'mvnw'
- 'mvnw.cmd'
- 'pom.xml'
- 'java/**'
- 'cpp/**'
- 'go/**'
- 'python/**'
- 'packaging/**'
- '!cpp/docs/**'
- '!**.md'

jobs:
analyze:
Expand Down Expand Up @@ -89,7 +113,7 @@ jobs:
# The Go bridge needs headers and libtsfile under cpp/target/build.
- name: Build native library for Go
if: matrix.language == 'go'
run: ./mvnw -P with-cpp -DskipTests -Dspotless.skip=true package
run: ./mvnw -P with-cpp -Dbuild.test=OFF -DskipTests -Dspotless.skip=true package

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/compatibility-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ on:
- 'cpp/cmake/**'
- 'cpp/third_party/**'
- 'cpp/test/reader/table_view/encoding_compression_compatibility_test.cc'
- '!**.md'
pull_request:
branches:
- develop
Expand Down Expand Up @@ -73,6 +74,7 @@ on:
- 'cpp/cmake/**'
- 'cpp/third_party/**'
- 'cpp/test/reader/table_view/encoding_compression_compatibility_test.cc'
- '!**.md'
workflow_dispatch:
inputs:
forceUpdates:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/cpp-dependency-source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ on:
paths:
- '.github/workflows/cpp-dependency-source.yml'
- 'cpp/**'
- '!cpp/docs/**'
- '!**.md'
- 'packaging/tests/test_native_install.py'
- 'pom.xml'
pull_request:
Expand All @@ -37,6 +39,8 @@ on:
paths:
- '.github/workflows/cpp-dependency-source.yml'
- 'cpp/**'
- '!cpp/docs/**'
- '!**.md'
- 'packaging/tests/test_native_install.py'
- 'pom.xml'
workflow_dispatch:
Expand Down
24 changes: 22 additions & 2 deletions .github/workflows/cppcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,19 @@ on:
paths:
- '.github/workflows/cppcheck.yml'
- '.mvn/**'
- 'cpp/**'
- 'mvnw'
- 'mvnw.cmd'
- 'pom.xml'
- 'cpp/CMakeLists.txt'
- 'cpp/cmake/**'
- 'cpp/src/**'
- 'cpp/tools/**'
- 'cpp/examples/**'
- 'cpp/third_party/**'
- 'cpp/build.sh'
- 'cpp/pom.xml'
- '!cpp/tools/skills/**'
- '!**.md'
pull_request:
branches:
- develop
Expand All @@ -38,9 +48,19 @@ on:
paths:
- '.github/workflows/cppcheck.yml'
- '.mvn/**'
- 'cpp/**'
- 'mvnw'
- 'mvnw.cmd'
- 'pom.xml'
- 'cpp/CMakeLists.txt'
- 'cpp/cmake/**'
- 'cpp/src/**'
- 'cpp/tools/**'
- 'cpp/examples/**'
- 'cpp/third_party/**'
- 'cpp/build.sh'
- 'cpp/pom.xml'
- '!cpp/tools/skills/**'
- '!**.md'
workflow_dispatch:

concurrency:
Expand Down
26 changes: 20 additions & 6 deletions .github/workflows/unit-test-cpp-msvc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,32 @@ on:
- develop
- iotdb
- rc/*
paths-ignore:
- 'docs/**'
- 'java/**'
paths:
- '.github/workflows/unit-test-cpp-msvc.yml'
- '.mvn/**'
- 'mvnw'
- 'mvnw.cmd'
- 'pom.xml'
- 'compat/compatibility-matrix.csv'
- 'cpp/**'
- '!cpp/docs/**'
- '!**.md'
pull_request:
branches:
- develop
- dev/*
- iotdb
- rc/*
paths-ignore:
- 'docs/**'
- 'java/**'
paths:
- '.github/workflows/unit-test-cpp-msvc.yml'
- '.mvn/**'
- 'mvnw'
- 'mvnw.cmd'
- 'pom.xml'
- 'compat/compatibility-matrix.csv'
- 'cpp/**'
- '!cpp/docs/**'
- '!**.md'
# Enable manually starting builds.
workflow_dispatch:

Expand Down
26 changes: 20 additions & 6 deletions .github/workflows/unit-test-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,32 @@ on:
- develop
- iotdb
- rc/*
paths-ignore:
- 'docs/**'
- 'java/**'
paths:
- '.github/workflows/unit-test-cpp.yml'
- '.mvn/**'
- 'mvnw'
- 'mvnw.cmd'
- 'pom.xml'
- 'compat/compatibility-matrix.csv'
- 'cpp/**'
- '!cpp/docs/**'
- '!**.md'
pull_request:
branches:
- develop
- dev/*
- iotdb
- rc/*
paths-ignore:
- 'docs/**'
- 'java/**'
paths:
- '.github/workflows/unit-test-cpp.yml'
- '.mvn/**'
- 'mvnw'
- 'mvnw.cmd'
- 'pom.xml'
- 'compat/compatibility-matrix.csv'
- 'cpp/**'
- '!cpp/docs/**'
- '!**.md'
# Enable manually starting builds, and allow forcing updating of SNAPSHOT dependencies.
workflow_dispatch:
inputs:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/unit-test-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@ on:
- "go/**"
- "cpp/src/cwrapper/**"
- ".github/workflows/unit-test-go.yml"
- "!**.md"
push:
branches: [develop]
paths:
- "go/**"
- "cpp/src/cwrapper/**"
- "!**.md"

jobs:
test:
Expand Down Expand Up @@ -83,12 +85,12 @@ jobs:
run: |
if [[ "${{ runner.os }}" == "Windows" ]]; then
if [[ "${{ matrix.toolchain }}" == "msvc" ]]; then
./mvnw.cmd -P with-cpp -Dcpp.toolchain=msvc -Dbuild.type=Release -DskipTests -Dspotless.skip=true package
./mvnw.cmd -P with-cpp -Dcpp.toolchain=msvc -Dbuild.type=Release -Dbuild.test=OFF -DskipTests -Dspotless.skip=true package
else
./mvnw.cmd -P with-cpp -Dcpp.toolchain=mingw -Dbuild.type=Release -DskipTests -Dspotless.skip=true package
./mvnw.cmd -P with-cpp -Dcpp.toolchain=mingw -Dbuild.type=Release -Dbuild.test=OFF -DskipTests -Dspotless.skip=true package
fi
else
./mvnw -P with-cpp -DskipTests -Dspotless.skip=true package
./mvnw -P with-cpp -Dbuild.test=OFF -DskipTests -Dspotless.skip=true package
fi
- name: Expose Windows native libraries
if: matrix.toolchain == 'mingw'
Expand Down
28 changes: 20 additions & 8 deletions .github/workflows/unit-test-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,31 @@ on:
- develop
- iotdb
- rc/*
paths-ignore:
- 'docs/**'
- 'cpp/**'
- 'python/**'
paths:
- '.github/workflows/unit-test-java.yml'
- '.mvn/**'
- 'mvnw'
- 'mvnw.cmd'
- 'pom.xml'
- 'checkstyle.xml'
- 'compat/compatibility-matrix.csv'
- 'java/**'
- '!**.md'
pull_request:
branches:
- develop
- iotdb
- rc/*
paths-ignore:
- 'docs/**'
- 'cpp/**'
- 'python/**'
paths:
- '.github/workflows/unit-test-java.yml'
- '.mvn/**'
- 'mvnw'
- 'mvnw.cmd'
- 'pom.xml'
- 'checkstyle.xml'
- 'compat/compatibility-matrix.csv'
- 'java/**'
- '!**.md'
# Enable manually starting builds, and allow forcing updating of SNAPSHOT dependencies.
workflow_dispatch:
inputs:
Expand Down
26 changes: 20 additions & 6 deletions .github/workflows/unit-test-python-msvc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,32 @@ on:
- develop
- iotdb
- rc/*
paths-ignore:
- 'docs/**'
- 'java/**'
paths:
- '.github/workflows/unit-test-python-msvc.yml'
- '.mvn/**'
- 'mvnw'
- 'mvnw.cmd'
- 'pom.xml'
- 'python/**'
- 'cpp/**'
- '!cpp/docs/**'
- '!**.md'
pull_request:
branches:
- develop
- dev/*
- iotdb
- rc/*
paths-ignore:
- 'docs/**'
- 'java/**'
paths:
- '.github/workflows/unit-test-python-msvc.yml'
- '.mvn/**'
- 'mvnw'
- 'mvnw.cmd'
- 'pom.xml'
- 'python/**'
- 'cpp/**'
- '!cpp/docs/**'
- '!**.md'
# Enable manually starting builds.
workflow_dispatch:

Expand Down
26 changes: 20 additions & 6 deletions .github/workflows/unit-test-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,32 @@ on:
- develop
- iotdb
- rc/*
paths-ignore:
- 'docs/**'
- 'java/**'
paths:
- '.github/workflows/unit-test-python.yml'
- '.mvn/**'
- 'mvnw'
- 'mvnw.cmd'
- 'pom.xml'
- 'python/**'
- 'cpp/**'
- '!cpp/docs/**'
- '!**.md'
pull_request:
branches:
- develop
- dev/*
- iotdb
- rc/*
paths-ignore:
- 'docs/**'
- 'java/**'
paths:
- '.github/workflows/unit-test-python.yml'
- '.mvn/**'
- 'mvnw'
- 'mvnw.cmd'
- 'pom.xml'
- 'python/**'
- 'cpp/**'
- '!cpp/docs/**'
- '!**.md'
# Enable manually starting builds, and allow forcing updating of SNAPSHOT dependencies.
workflow_dispatch:
inputs:
Expand Down
Loading
Loading