Skip to content

Commit f9cc0a9

Browse files
committed
download archive instead of cloning repo in integration tests
1 parent cef7048 commit f9cc0a9

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)