Skip to content

Commit 9bf1796

Browse files
committed
Move integration tests in clippy_bors.yml
Some call it the integration integration
1 parent a5bc2d6 commit 9bf1796

File tree

2 files changed

+54
-70
lines changed

2 files changed

+54
-70
lines changed

.github/workflows/clippy_bors.yml

+54-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Clippy Test (bors)
33
on:
44
push:
55
branches: [auto, try]
6-
# Don't run Clippy tests, when only textfiles were modified
6+
# Don't run tests, when only textfiles were modified
77
paths-ignore:
88
- 'COPYRIGHT'
99
- 'LICENSE-*'
@@ -162,3 +162,56 @@ jobs:
162162
/usr/bin/find ~/.cargo/bin ! -type d -exec strip {} \;
163163
cargo cache --autoclean
164164
shell: bash
165+
integration:
166+
needs: changelog
167+
strategy:
168+
fail-fast: false
169+
matrix:
170+
integration:
171+
- 'rust-lang/rls'
172+
- 'rust-lang/cargo'
173+
- 'rust-lang/chalk'
174+
- 'Geal/nom'
175+
- 'rust-lang/rustfmt'
176+
- 'hyperium/hyper'
177+
- 'rust-itertools/itertools'
178+
- 'serde-rs/serde'
179+
- 'rust-lang/stdarch'
180+
- 'rust-random/rand'
181+
- 'rust-lang/futures-rs'
182+
- 'Marwes/combine'
183+
- 'rust-lang-nursery/failure'
184+
- 'rust-lang/log'
185+
- 'chronotope/chrono'
186+
187+
runs-on: ubuntu-latest
188+
189+
steps:
190+
- name: rust-toolchain
191+
uses: actions-rs/[email protected]
192+
with:
193+
toolchain: nightly
194+
target: x86_64-unknown-linux-gnu
195+
profile: minimal
196+
- name: Cache cargo dir
197+
uses: actions/cache@v1
198+
with:
199+
path: ~/.cargo
200+
key: ${{ runner.os }}-x86_64-unknown-linux-gnu
201+
- name: Checkout
202+
uses: actions/[email protected]
203+
- name: Master Toolchain Setup
204+
run: bash setup-toolchain.sh
205+
206+
- name: Build
207+
run: cargo build --features integration
208+
- name: Test ${{ matrix.integration }}
209+
run: cargo test --test integration --features integration
210+
env:
211+
INTEGRATION: ${{ matrix.integration }}
212+
213+
- name: Run cargo-cache --autoclean
214+
run: |
215+
cargo install cargo-cache --debug
216+
find ~/.cargo/bin ! -type d -exec strip {} \;
217+
cargo cache --autoclean

.github/workflows/integration.yml

-69
This file was deleted.

0 commit comments

Comments
 (0)