Skip to content

Commit d3c7e10

Browse files
authored
ci: simplify CI (#707)
Please be sure to look over the pull request guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/blob/main/CONTRIBUTING.md#submit-pr. # Please go through the following checklist - [ ] The PR title and commit messages adhere to guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/blob/main/CONTRIBUTING.md. In particular `!` is used if and only if at least one breaking change has been introduced. - [ ] I have run the ci check script with `source scripts/run_ci_checks.sh`. - [ ] I have run the clean commit check script with `source scripts/check_commits.sh`, and the commit history is certified to follow clean commit guidelines as described here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/blob/main/COMMIT_GUIDELINES.md - [ ] The latest changes from `main` have been incorporated to this PR by simple rebase if possible, if not, then conflicts are resolved appropriately. # Rationale for this change <!-- Why are you proposing this change? If this is already explained clearly in the linked issue then this section is not needed. Explaining clearly why changes are proposed helps reviewers understand your changes and offer better suggestions for fixes. Example: Add `NestedLoopJoinExec`. Closes #345. Since we added `HashJoinExec` in #323 it has been possible to do provable inner joins. However performance is not satisfactory in some cases. Hence we need to fix the problem by implement `NestedLoopJoinExec` and speed up the code for `HashJoinExec`. --> # What changes are included in this PR? <!-- There is no need to duplicate the description in the ticket here but it is sometimes worth providing a summary of the individual changes in this PR. Example: - Add `NestedLoopJoinExec`. - Speed up `HashJoinExec`. - Route joins to `NestedLoopJoinExec` if the outer input is sufficiently small. --> # Are these changes tested? <!-- We typically require tests for all PRs in order to: 1. Prevent the code from being accidentally broken by subsequent changes 2. Serve as another way to document the expected behavior of the code If tests are not included in your PR, please explain why (for example, are they covered by existing tests)? Example: Yes. -->
2 parents 59a77bc + c899347 commit d3c7e10

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

.github/workflows/lint-and-test.yml

+20-4
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,26 @@ jobs:
7777
7878
test:
7979
name: Test Suite
80+
runs-on: ubuntu-latest
81+
steps:
82+
- uses: actions/checkout@v4
83+
- uses: dtolnay/rust-toolchain@stable
84+
- uses: Swatinem/rust-cache@v2
85+
- run: sudo apt-get update && sudo apt-get install -y clang lld
86+
- run: cargo test --all-features
87+
88+
testnorayon:
89+
name: Test Suite (without rayon)
90+
runs-on: ubuntu-latest
91+
steps:
92+
- uses: actions/checkout@v4
93+
- uses: dtolnay/rust-toolchain@stable
94+
- uses: Swatinem/rust-cache@v2
95+
- run: sudo apt-get update && sudo apt-get install -y clang lld
96+
- run: cargo test --no-default-features --features="arrow blitzar"
97+
98+
testother:
99+
name: Test Suite (other)
80100
runs-on: large-8-core-32gb-22-04
81101
steps:
82102
- name: Checkout sources
@@ -90,14 +110,10 @@ jobs:
90110
export DEBIAN_FRONTEND=non-interactive
91111
sudo apt-get update
92112
sudo apt-get install -y clang lld
93-
- name: Run cargo test
94-
run: cargo test --all-features
95113
- name: Install Foundry/forge for solidity tests
96114
uses: foundry-rs/foundry-toolchain@v1
97115
- name: Run solidity tests (ignored by default)
98116
run: cargo test --all-features --package proof-of-sql --lib -- tests::sol_test --show-output --ignored
99-
- name: Run cargo test without rayon
100-
run: cargo test --no-default-features --features="arrow blitzar"
101117
- name: Dry run cargo test (proof-of-sql) (test feature only)
102118
run: cargo test -p proof-of-sql --no-run --no-default-features --features="test"
103119
- name: Dry run cargo test (proof-of-sql) (arrow feature only)

0 commit comments

Comments
 (0)