Skip to content

Commit 8df2715

Browse files
committed
download archive instead of cloning repo in integration tests
1 parent 1d0f625 commit 8df2715

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ci/integration-tests.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ cargo install --force --debug --path .
1010

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

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

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

0 commit comments

Comments
 (0)