Skip to content

Commit b636a82

Browse files
authored
Merge branch 'apache:main' into fix-async-arrow-writer-no-send
2 parents c74c813 + f92ff18 commit b636a82

File tree

14 files changed

+1161
-32
lines changed

14 files changed

+1161
-32
lines changed

.github/workflows/dev_pr/labeler.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ arrow-flight:
4444

4545
parquet:
4646
- changed-files:
47-
- any-glob-to-any-file: [ 'parquet/**/*' ]
47+
- any-glob-to-any-file:
48+
- 'parquet/**/*'
49+
- 'parquet-variant/**/*'
4850

4951
parquet-derive:
5052
- changed-files:

.github/workflows/parquet-variant.yml

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
---
19+
# tests for parquet-variant crate
20+
name: "parquet-variant"
21+
22+
concurrency:
23+
group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}
24+
cancel-in-progress: true
25+
26+
# trigger for all PRs that touch certain files and changes to main
27+
on:
28+
push:
29+
branches:
30+
- main
31+
pull_request:
32+
paths:
33+
- parquet-variant/**
34+
- .github/**
35+
36+
jobs:
37+
# test the crate
38+
linux-test:
39+
name: Test
40+
runs-on: ubuntu-latest
41+
container:
42+
image: amd64/rust
43+
steps:
44+
- uses: actions/checkout@v4
45+
with:
46+
submodules: true
47+
- name: Setup Rust toolchain
48+
uses: ./.github/actions/setup-builder
49+
- name: Test
50+
run: cargo test -p parquet-variant
51+
52+
# test compilation
53+
linux-features:
54+
name: Check Compilation
55+
runs-on: ubuntu-latest
56+
container:
57+
image: amd64/rust
58+
steps:
59+
- uses: actions/checkout@v4
60+
with:
61+
submodules: true
62+
- name: Setup Rust toolchain
63+
uses: ./.github/actions/setup-builder
64+
- name: Check compilation
65+
run: cargo check -p parquet-variant
66+
67+
clippy:
68+
name: Clippy
69+
runs-on: ubuntu-latest
70+
container:
71+
image: amd64/rust
72+
steps:
73+
- uses: actions/checkout@v4
74+
- name: Setup Rust toolchain
75+
uses: ./.github/actions/setup-builder
76+
- name: Setup Clippy
77+
run: rustup component add clippy
78+
- name: Run clippy
79+
run: cargo clippy -p parquet-variant --all-targets --all-features -- -D warnings

0 commit comments

Comments
 (0)