Skip to content

Commit

Permalink
download archive instead of cloning repo in integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tesuji committed Oct 20, 2019
1 parent 1d0f625 commit 8df2715
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ci/integration-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ cargo install --force --debug --path .

echo "Running integration test for crate ${INTEGRATION}"

git clone --depth=1 "https://github.com/${INTEGRATION}.git" checkout
cd checkout || exit 1
mkdir -p "checkout/$INTEGRATION"
curl -sSL "https://github.com/$INTEGRATION/archive/master.tar.gz" | tar -xzf - -C "checkout/$INTEGRATION"
cd "checkout/$INTEGRATION" || exit 1

# run clippy on a project, try to be verbose and trigger as many warnings as possible for greater coverage
RUST_BACKTRACE=full \
Expand Down

0 comments on commit 8df2715

Please sign in to comment.