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