From 86308f7e2ada0d6768904d6235974642def62a47 Mon Sep 17 00:00:00 2001 From: Alberto Geniola Date: Fri, 8 Sep 2023 19:51:41 +0200 Subject: [PATCH] Add missing CLI api-base-url parameter --- .github/workflows/build-0.4.x.x.yml | 2 +- .github/workflows/build-dev.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-0.4.x.x.yml b/.github/workflows/build-0.4.x.x.yml index 6f2b2f86..f0a35f12 100644 --- a/.github/workflows/build-0.4.x.x.yml +++ b/.github/workflows/build-0.4.x.x.yml @@ -101,7 +101,7 @@ jobs: pip install . pip install -r requirements-dev.txt # Set credentials into memory - TOKEN=$(meross_api_cli auth login --email $MEROSS_EMAIL --password "$MEROSS_PASSWORD" | base64 -w0) + TOKEN=$(meross_api_cli auth login --email $MEROSS_EMAIL --password "$MEROSS_PASSWORD" --api-base-url "https://iotx-us.meross.com" | base64 -w0) # Run test __MEROSS_CREDS=$TOKEN pytest tests --suppress-tests-failed-exit-code --json-report --doctest-modules --junitxml=junit/test-results.xml --cov=. --cov-report=xml --cov-report=html --html=junit/test-results.html --self-contained-html # Invalidate token diff --git a/.github/workflows/build-dev.yml b/.github/workflows/build-dev.yml index 4eba1197..b4e2b527 100644 --- a/.github/workflows/build-dev.yml +++ b/.github/workflows/build-dev.yml @@ -95,7 +95,7 @@ jobs: run: | pip install . # Set credentials into memory - TOKEN=$(meross_api_cli auth login --email $MEROSS_EMAIL --password "$MEROSS_PASSWORD" | base64 -w0) + TOKEN=$(meross_api_cli auth login --email $MEROSS_EMAIL --password "$MEROSS_PASSWORD" --api-base-url "https://iotx-us.meross.com" | base64 -w0) # Run test __MEROSS_CREDS=$TOKEN pytest tests --suppress-tests-failed-exit-code --json-report --doctest-modules --junitxml=junit/test-results.xml --cov=. --cov-report=xml --cov-report=html --html=junit/test-results.html --self-contained-html # Invalidate token