|
80 | 80 | - name: Prepare cargo build |
81 | 81 | run: cargo check --profile ci --all-targets |
82 | 82 |
|
83 | | - # Run extended tests (with feature 'extended_tests') |
84 | | - linux-test-extended: |
85 | | - name: cargo test 'extended_tests' (amd64) |
86 | | - needs: linux-build-lib |
87 | | - runs-on: ubuntu-latest |
88 | | - container: |
89 | | - image: amd64/rust |
90 | | - if: | |
91 | | - github.event_name == 'push' || |
92 | | - (github.event_name == 'issue_comment' && github.event.issue.pull_request && github.event.comment.body == 'run extended tests') |
93 | | - steps: |
94 | | - - uses: actions/checkout@v4 |
95 | | - with: |
96 | | - # Check out the pull request branch if triggered by a comment |
97 | | - ref: ${{ github.event_name == 'issue_comment' && github.event.issue.pull_request.head.ref || github.ref }} |
98 | | - submodules: true |
99 | | - fetch-depth: 1 |
100 | | - - name: Setup Rust toolchain |
101 | | - uses: ./.github/actions/setup-builder |
102 | | - with: |
103 | | - rust-version: stable |
104 | | - - name: Run tests (excluding doctests) |
105 | | - run: cargo test --profile ci --exclude datafusion-examples --exclude datafusion-benchmarks --workspace --lib --tests --bins --features avro,json,backtrace,extended_tests |
106 | | - - name: Verify Working Directory Clean |
107 | | - run: git diff --exit-code |
108 | | - |
109 | | - # Check answers are correct when hash values collide |
110 | | - hash-collisions: |
111 | | - name: cargo test hash collisions (amd64) |
112 | | - runs-on: ubuntu-latest |
113 | | - container: |
114 | | - image: amd64/rust |
115 | | - if: | |
116 | | - github.event_name == 'push' || |
117 | | - (github.event_name == 'issue_comment' && github.event.issue.pull_request && github.event.comment.body == 'run extended tests') |
118 | | - steps: |
119 | | - - uses: actions/checkout@v4 |
120 | | - with: |
121 | | - # Check out the pull request branch if triggered by a comment |
122 | | - ref: ${{ github.event_name == 'issue_comment' && github.event.issue.pull_request.head.ref || github.ref }} |
123 | | - submodules: true |
124 | | - fetch-depth: 1 |
125 | | - - name: Setup Rust toolchain |
126 | | - uses: ./.github/actions/setup-builder |
127 | | - with: |
128 | | - rust-version: stable |
129 | | - - name: Run tests |
130 | | - run: | |
131 | | - cd datafusion |
132 | | - cargo test --profile ci --exclude datafusion-examples --exclude datafusion-benchmarks --exclude datafusion-sqllogictest --workspace --lib --tests --features=force_hash_collisions,avro,extended_tests |
133 | | -
|
134 | | - sqllogictest-sqlite: |
135 | | - name: "Run sqllogictests with the sqlite test suite" |
136 | | - runs-on: ubuntu-latest |
137 | | - container: |
138 | | - image: amd64/rust |
139 | | - if: | |
140 | | - github.event_name == 'push' || |
141 | | - (github.event_name == 'issue_comment' && github.event.issue.pull_request && github.event.comment.body == 'run extended tests') |
142 | | - steps: |
143 | | - - uses: actions/checkout@v4 |
144 | | - with: |
145 | | - # Check out the pull request branch if triggered by a comment |
146 | | - ref: ${{ github.event_name == 'issue_comment' && github.event.issue.pull_request.head.ref || github.ref }} |
147 | | - submodules: true |
148 | | - fetch-depth: 1 |
149 | | - - name: Setup Rust toolchain |
150 | | - uses: ./.github/actions/setup-builder |
151 | | - with: |
152 | | - rust-version: stable |
153 | | - - name: Run sqllogictest |
154 | | - run: cargo test --profile release-nonlto --test sqllogictests -- --include-sqlite |
155 | | - |
156 | 83 | notify_if_run_on_pr_success: |
157 | 84 | name: Notify |
158 | 85 | runs-on: ubuntu-latest |
|
0 commit comments