Skip to content

Commit

Permalink
fix more CI
Browse files Browse the repository at this point in the history
  • Loading branch information
viirya committed Feb 4, 2023
1 parent 296340a commit 9c1520c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,5 @@ jobs:
'!datafusion/CHANGELOG.md' \
README.md \
CONTRIBUTING.md
git config --global --add safe.directory "$GITHUB_WORKSPACE"
git diff --exit-code
17 changes: 13 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ jobs:
- name: Run tests (excluding doctests)
run: cargo test --lib --tests --bins --features avro,jit,scheduler,json,dictionary_expressions
- name: Verify Working Directory Clean
run: git diff --exit-code
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
git diff --exit-code
linux-test-example:
name: cargo examples (amd64)
Expand Down Expand Up @@ -132,7 +134,9 @@ jobs:
cargo run --example simple_udf
cargo run --example simple_udaf
- name: Verify Working Directory Clean
run: git diff --exit-code
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
git diff --exit-code
# Run doc tests
linux-test-doc:
Expand All @@ -153,7 +157,9 @@ jobs:
- name: Run doctests
run: cargo test --doc --features avro,jit,scheduler,json
- name: Verify Working Directory Clean
run: git diff --exit-code
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
git diff --exit-code
# verify that the benchmark queries return the correct results
verify-benchmark-results:
Expand Down Expand Up @@ -191,7 +197,9 @@ jobs:
cargo test verify_q --profile release-nonlto --features=ci -- --test-threads=1
cargo test serde_q --profile release-nonlto --features=ci -- --test-threads=1
- name: Verify Working Directory Clean
run: git diff --exit-code
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
git diff --exit-code
sqllogictest-postgres:
name: "Run sqllogictest with Postgres runner"
Expand Down Expand Up @@ -460,6 +468,7 @@ jobs:
#
# ignore ./Cargo.toml because putting workspaces in multi-line lists make it easy to read
ci/scripts/rust_toml_fmt.sh
git config --global --add safe.directory "$GITHUB_WORKSPACE"
git diff --exit-code
config-docs-check:
Expand Down

0 comments on commit 9c1520c

Please sign in to comment.