3030 strategy :
3131 matrix :
3232 arch : [amd64]
33- rust : [stable ]
33+ rust : [nightly-2021-07-04 ]
3434 container :
3535 image : ${{ matrix.arch }}/rust
3636 env :
7373 strategy :
7474 matrix :
7575 arch : [amd64]
76- rust : [stable ]
76+ rust : [nightly-2021-07-04 ]
7777 container :
7878 image : ${{ matrix.arch }}/rust
7979 env :
@@ -116,90 +116,90 @@ jobs:
116116 CARGO_HOME : " /github/home/.cargo"
117117 CARGO_TARGET_DIR : " /github/home/target"
118118 # Ballista is currently not part of the main workspace so requires a separate test step
119- - name : Run Ballista tests
120- run : |
121- export ARROW_TEST_DATA=$(pwd)/testing/data
122- export PARQUET_TEST_DATA=$(pwd)/parquet-testing/data
123- cd ballista/rust
124- # snmalloc requires cmake so build without default features
125- cargo test --no-default-features --features sled
126- env :
127- CARGO_HOME : " /github/home/.cargo"
128- CARGO_TARGET_DIR : " /github/home/target"
119+ # - name: Run Ballista tests
120+ # run: |
121+ # export ARROW_TEST_DATA=$(pwd)/testing/data
122+ # export PARQUET_TEST_DATA=$(pwd)/parquet-testing/data
123+ # cd ballista/rust
124+ # # snmalloc requires cmake so build without default features
125+ # cargo test --no-default-features --features sled
126+ # env:
127+ # CARGO_HOME: "/github/home/.cargo"
128+ # CARGO_TARGET_DIR: "/github/home/target"
129129
130- integration-test :
131- name : " Integration Test"
132- needs : [linux-build-lib]
133- runs-on : ubuntu-latest
134- services :
135- postgres :
136- image : postgres:13
137- env :
138- POSTGRES_PASSWORD : postgres
139- POSTGRES_DB : db_test
140- ports :
141- - 5432/tcp
142- options : >-
143- --health-cmd pg_isready
144- --health-interval 10s
145- --health-timeout 5s
146- --health-retries 5
147- steps :
148- - uses : actions/checkout@v2
149- with :
150- submodules : true
151- - uses : actions/setup-python@v2
152- with :
153- python-version : " 3.8"
154- - name : Install Python dependencies
155- run : |
156- python -m pip install --upgrade pip setuptools wheel
157- python -m pip install -r integration-tests/requirements.txt
158- - name : Allow access of psql
159- run : |
160- # make sure psql can access the server
161- echo "$POSTGRES_HOST:$POSTGRES_PORT:$POSTGRES_DB:$POSTGRES_USER:$POSTGRES_PASSWORD" | tee ~/.pgpass
162- chmod 0600 ~/.pgpass
163- psql -d "$POSTGRES_DB" -h "$POSTGRES_HOST" -p "$POSTGRES_PORT" -U "$POSTGRES_USER" -c 'CREATE TABLE IF NOT EXISTS test (
164- c1 character varying NOT NULL,
165- c2 integer NOT NULL,
166- c3 smallint NOT NULL,
167- c4 smallint NOT NULL,
168- c5 integer NOT NULL,
169- c6 bigint NOT NULL,
170- c7 smallint NOT NULL,
171- c8 integer NOT NULL,
172- c9 bigint NOT NULL,
173- c10 character varying NOT NULL,
174- c11 double precision NOT NULL,
175- c12 double precision NOT NULL,
176- c13 character varying NOT NULL
177- );'
178- psql -d "$POSTGRES_DB" -h "$POSTGRES_HOST" -p "$POSTGRES_PORT" -U "$POSTGRES_USER" -c "\copy test FROM '$(pwd)/testing/data/csv/aggregate_test_100.csv' WITH (FORMAT csv, HEADER true);"
179- env :
180- POSTGRES_HOST : localhost
181- POSTGRES_PORT : ${{ job.services.postgres.ports[5432] }}
182- POSTGRES_DB : db_test
183- POSTGRES_USER : postgres
184- POSTGRES_PASSWORD : postgres
185- - name : Build datafusion-cli
186- run : cargo build --bin datafusion-cli
187- - name : Test Psql Parity
188- run : python -m pytest -v integration-tests/test_psql_parity.py
189- env :
190- POSTGRES_HOST : localhost
191- POSTGRES_PORT : ${{ job.services.postgres.ports[5432] }}
192- POSTGRES_DB : db_test
193- POSTGRES_USER : postgres
194- POSTGRES_PASSWORD : postgres
130+ # integration-test:
131+ # name: "Integration Test"
132+ # needs: [linux-build-lib]
133+ # runs-on: ubuntu-latest
134+ # services:
135+ # postgres:
136+ # image: postgres:13
137+ # env:
138+ # POSTGRES_PASSWORD: postgres
139+ # POSTGRES_DB: db_test
140+ # ports:
141+ # - 5432/tcp
142+ # options: >-
143+ # --health-cmd pg_isready
144+ # --health-interval 10s
145+ # --health-timeout 5s
146+ # --health-retries 5
147+ # steps:
148+ # - uses: actions/checkout@v2
149+ # with:
150+ # submodules: true
151+ # - uses: actions/setup-python@v2
152+ # with:
153+ # python-version: "3.8"
154+ # - name: Install Python dependencies
155+ # run: |
156+ # python -m pip install --upgrade pip setuptools wheel
157+ # python -m pip install -r integration-tests/requirements.txt
158+ # - name: Allow access of psql
159+ # run: |
160+ # # make sure psql can access the server
161+ # echo "$POSTGRES_HOST:$POSTGRES_PORT:$POSTGRES_DB:$POSTGRES_USER:$POSTGRES_PASSWORD" | tee ~/.pgpass
162+ # chmod 0600 ~/.pgpass
163+ # psql -d "$POSTGRES_DB" -h "$POSTGRES_HOST" -p "$POSTGRES_PORT" -U "$POSTGRES_USER" -c 'CREATE TABLE IF NOT EXISTS test (
164+ # c1 character varying NOT NULL,
165+ # c2 integer NOT NULL,
166+ # c3 smallint NOT NULL,
167+ # c4 smallint NOT NULL,
168+ # c5 integer NOT NULL,
169+ # c6 bigint NOT NULL,
170+ # c7 smallint NOT NULL,
171+ # c8 integer NOT NULL,
172+ # c9 bigint NOT NULL,
173+ # c10 character varying NOT NULL,
174+ # c11 double precision NOT NULL,
175+ # c12 double precision NOT NULL,
176+ # c13 character varying NOT NULL
177+ # );'
178+ # psql -d "$POSTGRES_DB" -h "$POSTGRES_HOST" -p "$POSTGRES_PORT" -U "$POSTGRES_USER" -c "\copy test FROM '$(pwd)/testing/data/csv/aggregate_test_100.csv' WITH (FORMAT csv, HEADER true);"
179+ # env:
180+ # POSTGRES_HOST: localhost
181+ # POSTGRES_PORT: ${{ job.services.postgres.ports[5432] }}
182+ # POSTGRES_DB: db_test
183+ # POSTGRES_USER: postgres
184+ # POSTGRES_PASSWORD: postgres
185+ # - name: Build datafusion-cli
186+ # run: cargo build --bin datafusion-cli
187+ # - name: Test Psql Parity
188+ # run: python -m pytest -v integration-tests/test_psql_parity.py
189+ # env:
190+ # POSTGRES_HOST: localhost
191+ # POSTGRES_PORT: ${{ job.services.postgres.ports[5432] }}
192+ # POSTGRES_DB: db_test
193+ # POSTGRES_USER: postgres
194+ # POSTGRES_PASSWORD: postgres
195195
196196 windows-and-macos :
197197 name : Test on ${{ matrix.os }} Rust ${{ matrix.rust }}
198198 runs-on : ${{ matrix.os }}
199199 strategy :
200200 matrix :
201- os : [windows-latest, macos-latest]
202- rust : [stable ]
201+ os : [macos-latest]
202+ rust : [nightly-2021-07-04 ]
203203 steps :
204204 - uses : actions/checkout@v2
205205 with :
@@ -230,87 +230,87 @@ jobs:
230230 - uses : actions/checkout@v2
231231 - name : Setup toolchain
232232 run : |
233- rustup toolchain install stable
234- rustup default stable
233+ rustup toolchain install nightly-2021-07-04
234+ rustup default nightly-2021-07-04
235235 rustup component add rustfmt
236236 - name : Run
237237 run : cargo fmt --all -- --check
238238
239- clippy :
240- name : Clippy
241- needs : [linux-build-lib]
242- runs-on : ubuntu-latest
243- strategy :
244- matrix :
245- arch : [amd64]
246- rust : [stable ]
247- container :
248- image : ${{ matrix.arch }}/rust
249- env :
250- # Disable full debug symbol generation to speed up CI build and keep memory down
251- # "1" means line tables only, which is useful for panic tracebacks.
252- RUSTFLAGS : " -C debuginfo=1"
253- steps :
254- - uses : actions/checkout@v2
255- with :
256- submodules : true
257- - name : Cache Cargo
258- uses : actions/cache@v2
259- with :
260- path : /github/home/.cargo
261- # this key equals the ones on `linux-build-lib` for re-use
262- key : cargo-cache-
263- - name : Cache Rust dependencies
264- uses : actions/cache@v2
265- with :
266- path : /github/home/target
267- # this key equals the ones on `linux-build-lib` for re-use
268- key : ${{ runner.os }}-${{ matrix.arch }}-target-cache-${{ matrix.rust }}
269- - name : Setup Rust toolchain
270- run : |
271- rustup toolchain install ${{ matrix.rust }}
272- rustup default ${{ matrix.rust }}
273- rustup component add rustfmt clippy
274- - name : Run clippy
275- run : |
276- cargo clippy --all-targets --workspace -- -D warnings
277- env :
278- CARGO_HOME : " /github/home/.cargo"
279- CARGO_TARGET_DIR : " /github/home/target"
280-
281- miri-checks :
282- name : MIRI
283- runs-on : ubuntu-latest
284- strategy :
285- matrix :
286- arch : [amd64]
287- rust : [nightly-2021-03-24 ]
288- steps :
289- - uses : actions/checkout@v2
290- with :
291- submodules : true
292- - uses : actions/cache@v2
293- with :
294- path : |
295- ~/.cargo/registry
296- ~/.cargo/git
297- target
298- key : ${{ runner.os }}-cargo-miri-${{ hashFiles('**/Cargo.lock') }}
299- - name : Setup Rust toolchain
300- run : |
301- rustup toolchain install ${{ matrix.rust }}
302- rustup default ${{ matrix.rust }}
303- rustup component add rustfmt clippy miri
304- - name : Run Miri Checks
305- env :
306- RUST_BACKTRACE : full
307- RUST_LOG : " trace"
308- MIRIFLAGS : " -Zmiri-disable-isolation"
309- run : |
310- cargo miri setup
311- cargo clean
312- # Ignore MIRI errors until we can get a clean run
313- cargo miri test || true
239+ # clippy:
240+ # name: Clippy
241+ # needs: [linux-build-lib]
242+ # runs-on: ubuntu-latest
243+ # strategy:
244+ # matrix:
245+ # arch: [amd64]
246+ # rust: [nightly-2021-07-04 ]
247+ # container:
248+ # image: ${{ matrix.arch }}/rust
249+ # env:
250+ # # Disable full debug symbol generation to speed up CI build and keep memory down
251+ # # "1" means line tables only, which is useful for panic tracebacks.
252+ # RUSTFLAGS: "-C debuginfo=1"
253+ # steps:
254+ # - uses: actions/checkout@v2
255+ # with:
256+ # submodules: true
257+ # - name: Cache Cargo
258+ # uses: actions/cache@v2
259+ # with:
260+ # path: /github/home/.cargo
261+ # # this key equals the ones on `linux-build-lib` for re-use
262+ # key: cargo-cache-
263+ # - name: Cache Rust dependencies
264+ # uses: actions/cache@v2
265+ # with:
266+ # path: /github/home/target
267+ # # this key equals the ones on `linux-build-lib` for re-use
268+ # key: ${{ runner.os }}-${{ matrix.arch }}-target-cache-${{ matrix.rust }}
269+ # - name: Setup Rust toolchain
270+ # run: |
271+ # rustup toolchain install ${{ matrix.rust }}
272+ # rustup default ${{ matrix.rust }}
273+ # rustup component add rustfmt clippy
274+ # - name: Run clippy
275+ # run: |
276+ # cargo clippy --all-targets --workspace -- -D warnings
277+ # env:
278+ # CARGO_HOME: "/github/home/.cargo"
279+ # CARGO_TARGET_DIR: "/github/home/target"
280+ #
281+ # miri-checks:
282+ # name: MIRI
283+ # runs-on: ubuntu-latest
284+ # strategy:
285+ # matrix:
286+ # arch: [amd64]
287+ # rust: [nightly-2021-07-04 ]
288+ # steps:
289+ # - uses: actions/checkout@v2
290+ # with:
291+ # submodules: true
292+ # - uses: actions/cache@v2
293+ # with:
294+ # path: |
295+ # ~/.cargo/registry
296+ # ~/.cargo/git
297+ # target
298+ # key: ${{ runner.os }}-cargo-miri-${{ hashFiles('**/Cargo.lock') }}
299+ # - name: Setup Rust toolchain
300+ # run: |
301+ # rustup toolchain install ${{ matrix.rust }}
302+ # rustup default ${{ matrix.rust }}
303+ # rustup component add rustfmt clippy miri
304+ # - name: Run Miri Checks
305+ # env:
306+ # RUST_BACKTRACE: full
307+ # RUST_LOG: "trace"
308+ # MIRIFLAGS: "-Zmiri-disable-isolation"
309+ # run: |
310+ # cargo miri setup
311+ # cargo clean
312+ # # Ignore MIRI errors until we can get a clean run
313+ # cargo miri test || true
314314
315315# Coverage job was failing. https://github.com/apache/arrow-datafusion/issues/590 tracks re-instating it
316316
@@ -320,7 +320,7 @@ jobs:
320320 # strategy:
321321 # matrix:
322322 # arch: [amd64]
323- # rust: [stable ]
323+ # rust: [nightly-2021-07-04 ]
324324 # steps:
325325 # - uses: actions/checkout@v2
326326 # with:
0 commit comments