diff --git a/.github/workflows/packager.yml b/.github/workflows/packager.yml deleted file mode 100644 index 7122a98..0000000 --- a/.github/workflows/packager.yml +++ /dev/null @@ -1,51 +0,0 @@ -name: "📦 Packager" - -env: - PROJECT_FOLDER: "qgis_hub_plugin" - PYTHON_VERSION: 3.9 - -on: - push: - branches: [ main ] - - -jobs: - packaging: - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@2 - - - name: Setup Python - uses: actions/setup-python@v4 - with: - cache: "pip" - cache-dependency-path: "requirements/packaging.txt" - python-version: ${{ env.PYTHON_VERSION }} - - - name: Install system requirements - run: | - sudo apt update - sudo apt install qt5-qmake qttools5-dev-tools - - - name: Install project requirements - run: | - python -m pip install -U pip setuptools wheel - python -m pip install -U -r requirements/packaging.txt - - - name: Update translations - run: pylupdate5 -noobsolete -verbose ${{ env.PROJECT_FOLDER }}/resources/i18n/plugin_translation.pro - - - name: Compile translations - run: lrelease ${{ env.PROJECT_FOLDER }}/resources/i18n/*.ts - - - name: Package the latest version - run: qgis-plugin-ci package latest --allow-uncommitted-changes - - - uses: actions/upload-artifact@v2 - with: - name: ${{ env.PROJECT_FOLDER }}-latest - path: ${{ env.PROJECT_FOLDER }}.*.zip - if-no-files-found: error - diff --git a/qgis_hub_plugin/core/api_client.py b/qgis_hub_plugin/core/api_client.py index e18385d..63bc002 100644 --- a/qgis_hub_plugin/core/api_client.py +++ b/qgis_hub_plugin/core/api_client.py @@ -9,7 +9,7 @@ def get_all_resources(params: dict = {}, force_update=False): params["format"] = "json" - params["limit"] = 200 # hardcoded to get all resource, currently only 160 + params["limit"] = 1000 # hardcoded to get all resource, currently only ~160 # Check if the response file exits response_folder = Path(QgsApplication.qgisSettingsDirPath(), "qgis_hub") diff --git a/tests/unit/test_api_client.py b/tests/qgis/test_api_client.py similarity index 100% rename from tests/unit/test_api_client.py rename to tests/qgis/test_api_client.py