Skip to content

Commit

Permalink
upgrade coverage to 6.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
igelbox committed May 5, 2022
1 parent 5519ea4 commit f545057
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- uses: actions/cache@v3
with:
path: ${{ env.BLENDER_PATH }}
key: blender:${{ env.BLENDER_VERSION }}
key: blender:${{ env.BLENDER_VERSION }}:cov632
- name: Prepare
run: ./tests/ci-prepare.sh
- name: Test
Expand Down
6 changes: 3 additions & 3 deletions tests/ci-prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ if [ ! -e "$BLENDER_PATH" ]; then
mkdir -p $TGT
ln -s tests $TGT/

URL="https://pypi.python.org/packages/53/fe/9e0fbdbca15c2c1253379c3a694f4315a420555e7874445b06edeaeacaea/coverage-4.2.tar.gz#md5=1e09362a3f35d589f942359441050a6e"
URL="https://files.pythonhosted.org/packages/74/fb/f481628033d42f6f6021af8a9a13d913707221e139567f39b09b337421b9/coverage-6.3.2.tar.gz"
TGT="$BLENDER_PATH/$VER/python/lib/python$BLENDER_PYTHON_VERSION/"
echo "Downloading $URL to $TGT ..."
test -d "$TGT" # assert the target is exist
curl -L "$URL" | tar -xz
mv coverage-4.2/coverage "$TGT"
rm -rf coverage-4.2
mv coverage-6.3.2/coverage "$TGT"
rm -rf coverage-6.3.2
fi

0 comments on commit f545057

Please sign in to comment.