Having trouble with tests for dev PR. linting pass...
# help
a
Having trouble with tests for dev PR. linting passes on my local machine with nf-core version 3.5.2 but fails on github with the same version:
╭─ [✗] 3 Pipeline Tests Failed ────────────────────────────────────────────────╮
│                                                                              │
│ files_unchanged: assets/nf-core-bactmap_logo_light.png does not match the    │
│ template                                                                     │
│ files_unchanged: docs/images/nf-core-bactmap_logo_light.png does not match   │
│ the template                                                                 │
│ files_unchanged: docs/images/nf-core-bactmap_logo_dark.png does not match    │
│ the template                                                                 │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
m
try to pull them from the template branch with
git checkout TEMPLATE -- assets/nf-core-bactmap_logo_light.png
(this liting test is unfortunately a bit flaky sometimes)
a
Do I run this in my dev branch?
m
yes
a
git checkout TEMPLATE -- assets/nf-core-bactmap_logo_light.png
fatal: invalid reference: TEMPLATE
m
try
git checkout upstream/TEMPLATE -- assets/nf-core-bactmap_logo_light.png
a
fatal: invalid reference: upstream/TEMPLATE
m
what are your remotes?
git remote -v
?
a
origin  <https://github.com/avantonder/bactmap.git> (fetch)
origin  <https://github.com/avantonder/bactmap.git> (push)
upstream        <https://github.com/nf-core/bactmap.git> (fetch)
upstream        <https://github.com/nf-core/bactmap.git> (push)
m
maybe you need to first run
git fetch upstream
a
Ok, that worked with
git checkout upstream/TEMPLATE -- assets/nf-core-bactmap_logo_light.png
Do I need to do this with the png files in
docs/images
as well?
m
exactly
a
Thanks @mashehu Passed the test now 🙂
👍🏻 1