Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: apache/hudi-rs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 6300fc3a8846e3078499a30707a0aab79bd7d764
Choose a base ref
..
head repository: apache/hudi-rs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0b991e3c069a4faba58bac349ec79f5cdf3a518e
Choose a head ref
Showing with 71 additions and 14 deletions.
  1. +2 −0 .asf.yaml
  2. +39 −0 .github/dependabot.yml
  3. +20 −12 .github/workflows/ci.yml
  4. +10 −2 .github/workflows/{pr.yml → compliance.yml}
2 changes: 2 additions & 0 deletions .asf.yaml
Original file line number Diff line number Diff line change
@@ -42,6 +42,8 @@ github:
strict: true
required_linear_history: true
required_conversation_resolution: true
dependabot_alerts: true
dependabot_updates: true
notifications:
commits: commits@hudi.apache.org
issues: commits@hudi.apache.org
39 changes: 39 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

version: 2
updates:
- package-ecosystem: pip
directory: /
schedule:
interval: weekly
reviewers:
- "xushiyan"

- package-ecosystem: cargo
directory: /
schedule:
interval: weekly
reviewers:
- "xushiyan"

- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
reviewers:
- "xushiyan"
32 changes: 20 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -22,24 +22,33 @@ on:
branches:
- main
- release/**
paths-ignore:
- '**.md'
- '.github/ISSUE_TEMPLATE/**'
- '.github/PULL_REQUEST_TEMPLATE.md'
- '.asf.yaml'
- '.licenserc.yaml'
- '.commitlintrc.yaml'
- 'LICENSE'
- 'NOTICE'
pull_request:
branches:
- main
paths-ignore:
- '**.md'
- '.github/ISSUE_TEMPLATE/**'
- '.github/PULL_REQUEST_TEMPLATE.md'
- '.asf.yaml'
- '.licenserc.yaml'
- '.commitlintrc.yaml'
- 'LICENSE'
- 'NOTICE'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check license header
uses: apache/skywalking-eyes/header@v0.6.0
- name: Check code style
run: cd python && make check-rust

rust-tests:
strategy:
fail-fast: false
@@ -50,10 +59,9 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install cargo-quickinstall
run: cargo install cargo-quickinstall
- uses: cargo-bins/cargo-binstall@main
- name: Install tarpaulin
run: cargo quickinstall cargo-tarpaulin
run: cargo binstall -y cargo-tarpaulin
- name: Rust unit tests with coverage report
# https://github.com/xd009642/tarpaulin/issues/1092#issuecomment-1407739176
run: cargo tarpaulin --engine llvm --no-dead-code --no-fail-fast --all-features --workspace -o xml --output-dir ./cov-reports
12 changes: 10 additions & 2 deletions .github/workflows/pr.yml → .github/workflows/compliance.yml
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.

name: PR
name: Compliance

on:
pull_request_target:
@@ -28,7 +28,7 @@ permissions:
pull-requests: write

jobs:
compliance:
check-pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@@ -41,3 +41,11 @@ jobs:
echo ${{ github.event.pull_request.title }} | npx commitlint
- name: Labeling
uses: actions/labeler@v5
check-changes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check license header
uses: apache/skywalking-eyes/header@v0.6.0
- name: Check code style
run: cd python && make check-rust