Skip to content

Commit 0c0f012

Browse files
committed
Move integration tests in clippy_bors.yml
Some call it the integration integration
1 parent ed9bd8c commit 0c0f012

File tree

2 files changed

+54
-70
lines changed

2 files changed

+54
-70
lines changed

.github/workflows/clippy_bors.yml

Lines changed: 54 additions & 1 deletion
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-*'
@@ -167,3 +167,56 @@ jobs:
167167
/usr/bin/find ~/.cargo/bin ! -type d -exec strip {} \;
168168
cargo cache --autoclean
169169
shell: bash
170+
integration:
171+
needs: changelog
172+
strategy:
173+
fail-fast: false
174+
matrix:
175+
integration:
176+
- 'rust-lang/cargo'
177+
- 'rust-lang/rls'
178+
- 'rust-lang/chalk'
179+
- 'rust-lang/rustfmt'
180+
- 'Marwes/combine'
181+
- 'Geal/nom'
182+
- 'rust-lang/stdarch'
183+
- 'serde-rs/serde'
184+
- 'chronotope/chrono'
185+
- 'hyperium/hyper'
186+
- 'rust-random/rand'
187+
- 'rust-lang/futures-rs'
188+
- 'rust-itertools/itertools'
189+
- 'rust-lang-nursery/failure'
190+
- 'rust-lang/log'
191+
192+
runs-on: ubuntu-latest
193+
194+
steps:
195+
- name: rust-toolchain
196+
uses: actions-rs/[email protected]
197+
with:
198+
toolchain: nightly
199+
target: x86_64-unknown-linux-gnu
200+
profile: minimal
201+
- name: Cache cargo dir
202+
uses: actions/cache@v1
203+
with:
204+
path: ~/.cargo
205+
key: ${{ runner.os }}-x86_64-unknown-linux-gnu
206+
- name: Checkout
207+
uses: actions/[email protected]
208+
- name: Master Toolchain Setup
209+
run: bash setup-toolchain.sh
210+
211+
- name: Build
212+
run: cargo build --features integration
213+
- name: Test ${{ matrix.integration }}
214+
run: cargo test --test integration --features integration
215+
env:
216+
INTEGRATION: ${{ matrix.integration }}
217+
218+
- name: Run cargo-cache --autoclean
219+
run: |
220+
cargo install cargo-cache --debug
221+
find ~/.cargo/bin ! -type d -exec strip {} \;
222+
cargo cache --autoclean

.github/workflows/integration.yml

Lines changed: 0 additions & 69 deletions
This file was deleted.

0 commit comments

Comments
 (0)