Skip to content

Commit d3660b1

Browse files
committed
ci: test fork branch against companion firmware
1 parent f19a5f6 commit d3660b1

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.circleci/config.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ jobs:
1111
- run:
1212
name: Clone python-keepkey (current branch)
1313
command: |
14-
git clone --depth 1 -b "$CIRCLE_BRANCH" https://github.com/keepkey/python-keepkey.git .pykk
14+
git clone --depth 1 -b "$CIRCLE_BRANCH" \
15+
"https://github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}.git" .pykk
1516
cd .pykk && git submodule update --init --recursive
1617
1718
# ────────────────────────────────────────────────────────────────
@@ -27,8 +28,12 @@ jobs:
2728
# Move python-keepkey out of the way
2829
mv .pykk ../
2930
30-
# Clone firmware repository (expects $FIRMWARE_REPO env var)
31-
git clone --depth 1 -b master "$FIRMWARE_REPO" .
31+
# Test the same exact companion implementation as the GitHub
32+
# Actions integration lane. Bump deliberately with that workflow.
33+
git init .
34+
git remote add origin https://github.com/BitHighlander/keepkey-firmware.git
35+
git fetch --depth 1 origin ec9ced7f23b119878961ee6571da29b035cf11fb
36+
git checkout --detach FETCH_HEAD
3237
3338
# Initialise firmware submodules
3439
git submodule update --init --recursive

0 commit comments

Comments
 (0)