Skip to content

Commit

Permalink
[Test only] See if this helps with lab extdir overload (#1035)
Browse files Browse the repository at this point in the history
* leftover cruft

* fix extension version numbers for now

* mjwpaymentapi not needed since now always using mjwshared 1.3+
  • Loading branch information
demeritcowboy authored Feb 15, 2025
1 parent 67d2dd2 commit 567a908
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
24 changes: 16 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,14 +159,22 @@ jobs:
/home/runner/civicrm-cv/cv ev '\Civi::settings()->set("ext_repo_url", "https://civicrm.org/extdir/ver={ver}|cms={uf}|ready=");'
/home/runner/civicrm-cv/cv ev '\Civi::settings()->set("http_timeout", 60);'
# Apparently we have to install it, otherwise stripe gives a dependency error even with install=0. I think that's a bug, but let's just do it. This is a fake install anyway.
/home/runner/civicrm-cv/cv api3 Extension.download install=1 key=mjwshared
/home/runner/civicrm-cv/cv api3 Extension.download install=1 key=firewall
/home/runner/civicrm-cv/cv api3 Extension.download install=1 key=mjwpaymentapi
/home/runner/civicrm-cv/cv api3 Extension.download install=1 key=com.drastikbydesign.stripe
/home/runner/civicrm-cv/cv api3 Extension.download install=0 key=com.iatspayments.civicrm
/home/runner/civicrm-cv/cv api3 Extension.download install=0 key=com.aghstrategies.uscounties
# temporary iats patches for undeclared vars
# cd com.iatspayments.civicrm
# /home/runner/civicrm-cv/cv api3 Extension.download install=1 key=mjwshared
# /home/runner/civicrm-cv/cv api3 Extension.download install=1 key=firewall
# /home/runner/civicrm-cv/cv api3 Extension.download install=1 key=com.drastikbydesign.stripe
# /home/runner/civicrm-cv/cv api3 Extension.download install=0 key=com.iatspayments.civicrm
# /home/runner/civicrm-cv/cv api3 Extension.download install=0 key=com.aghstrategies.uscounties
# Until lab issues are resolved, pretend we're a real site and have old versions of the extensions installed. I.e. these version numbers will only get updated if somebody manually updates them in this file.
curl -L -O https://lab.civicrm.org/extensions/mjwshared/-/archive/1.3.3/mjwshared-1.3.3.zip
unzip mjwshared-1.3.3.zip
curl -L -O https://lab.civicrm.org/extensions/firewall/-/archive/1.5.10/firewall-1.5.10.zip
unzip firewall-1.5.10.zip
curl -L -O https://lab.civicrm.org/extensions/stripe/-/archive/6.11.4/stripe-6.11.4.zip
unzip stripe-6.11.4.zip
curl -L -O https://github.com/iATSPayments/com.iatspayments.civicrm/archive/1.10.0.zip
unzip 1.10.0.zip
curl -L -O https://github.com/agh1/com.aghstrategies.uscounties/archive/2.1.zip
unzip 2.1.zip
- uses: nanasess/setup-chromedriver@master
with:
# temporary to match downgraded chrome
Expand Down
2 changes: 1 addition & 1 deletion tests/src/FunctionalJavascript/StripeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ final class StripeTest extends WebformCivicrmTestBase {
protected function setUp(): void {
parent::setUp();

$this->setUpExtension('mjwshared,firewall,mjwpaymentapi,com.drastikbydesign.stripe');
$this->setUpExtension('mjwshared,firewall,com.drastikbydesign.stripe');

$this->paymentProcessorID = $this->createStripeProcessor();

Expand Down

0 comments on commit 567a908

Please sign in to comment.