chore: use the v1 branch for JMeter tests

This commit is contained in:
Vlad Stan 2024-11-12 13:36:19 +02:00
parent 8c5c455f1c
commit 031025519c
2 changed files with 4 additions and 1 deletions
.github/workflows
lnbits/core/models

@ -36,6 +36,7 @@ jobs:
- name: clone lnbits-extensions, install jmeter and run tests
run: |
git clone https://github.com/lnbits/lnbits-extensions
git checkout v1_updates
cd lnbits-extensions
mkdir logs
mkdir reports

@ -42,7 +42,9 @@ class ExplicitRelease(BaseModel):
def is_version_compatible(self):
if not self.min_lnbits_version:
return True
return version_parse(self.min_lnbits_version) <= version_parse(settings.version)
# remove any suffixes from the version
lnbits_version = settings.version.split("-")[0].split("rc")[0]
return version_parse(self.min_lnbits_version) <= version_parse(lnbits_version)
class GitHubRelease(BaseModel):