diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ca3d059..e9908b7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,29 +30,36 @@ jobs: QGIS_DISPLAY: ":99" DOCKER_NETWORK: aims PLUGIN_NAME: QGIS-AIMS-Plugin + PLUGIN_VERSION: 2.0.0 steps: - name: Checkout QGIS-AIMS-Plugin uses: actions/checkout@v3 - - name: Create Docker Network - run: bash $BASE_DIR/scripts/steps/create_docker_network.sh + # - name: Create Docker Network + # run: bash $BASE_DIR/scripts/steps/create_docker_network.sh - - name: Launch database container - run: bash $BASE_DIR/scripts/steps/launch_database_container.sh + # - name: Launch database container + # run: bash $BASE_DIR/scripts/steps/launch_database_container.sh - - name: Run database tests - run: bash $BASE_DIR/scripts/steps/run_db_tests.sh + # - name: Run database tests + # run: bash $BASE_DIR/scripts/steps/run_db_tests.sh - - name: Launch QGIS container - run: bash $BASE_DIR/scripts/steps/launch_qgis_container.sh + # - name: Launch QGIS container + # run: bash $BASE_DIR/scripts/steps/launch_qgis_container.sh - # - name: Load test data - # run: bash $BASE_DIR/scripts/steps/load_qgis_test_data.sh + # # - name: Load test data + # # run: bash $BASE_DIR/scripts/steps/load_qgis_test_data.sh - - name: Setup QGIS plugin - run: bash $BASE_DIR/scripts/steps/setup_qgis_plugin.sh + # - name: Setup QGIS plugin + # run: bash $BASE_DIR/scripts/steps/setup_qgis_plugin.sh - - name: Run QGIS tests - run: bash $BASE_DIR/scripts/steps/run_qgis_tests.sh \ No newline at end of file + # - name: Run QGIS tests + # run: bash $BASE_DIR/scripts/steps/run_qgis_tests.sh + + - name: Install QGIS Plugin CI + run: python3 -m pip install qgis-plugin-ci --quiet + + - name: Package + run: qgis-plugin-ci package ${{ env.PLUGIN_VERSION }} \ No newline at end of file diff --git a/.qgis-plugin-ci b/.qgis-plugin-ci new file mode 100644 index 0000000..2d275af --- /dev/null +++ b/.qgis-plugin-ci @@ -0,0 +1,3 @@ +plugin_path: 'QGIS-AIMS-Plugin' +github_organization_slug: linz +project_slug: qgis_aims_plugin \ No newline at end of file diff --git a/QGIS-AIMS-Plugin/__version__.py b/QGIS-AIMS-Plugin/__version__.py new file mode 100644 index 0000000..3e804db --- /dev/null +++ b/QGIS-AIMS-Plugin/__version__.py @@ -0,0 +1 @@ +__version__='2.0.0' \ No newline at end of file diff --git a/requirements-dev.txt b/requirements-dev.txt new file mode 100644 index 0000000..66a2100 --- /dev/null +++ b/requirements-dev.txt @@ -0,0 +1 @@ +qgis-plugin-ci \ No newline at end of file