Skip to content

Commit

Permalink
Merge pull request #236 from linz/HG-Aims-Upgrade
Browse files Browse the repository at this point in the history
Hg aims upgrade
  • Loading branch information
palmerj authored Dec 10, 2024
2 parents 270664c + 46d71d2 commit 5603a06
Show file tree
Hide file tree
Showing 2,508 changed files with 10,808 additions and 1,495,696 deletions.
65 changes: 65 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: Run Tests

on:
push:
branches:
- master
- HG-Aims-Upgrade

jobs:

test:
name: Test - QGIS ${{ matrix.qgis_image.name }} & Postgre ${{ matrix.db_image.name }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
qgis_image:
- {name: "3.28", image: "qgis/qgis:release-3_28"}
db_image:
- {name: "14-3.1", image: "kartoza/postgis:14-3.1"}

env:
PGHOST: localhost
PGPORT: 5432
PGUSER: postgres
PGPASSWORD: postgres
BASE_DIR: ${{ github.workspace }}
DB_DOCKER_IMAGE: ${{ matrix.db_image.image }}
QGIS_DOCKER_IMAGE: ${{ matrix.qgis_image.image }}
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: 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: 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: 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

- name: Install QGIS Plugin CI
run: python3 -m pip install qgis-plugin-ci --quiet

- name: Package
run: qgis-plugin-ci package ${{ env.PLUGIN_VERSION }}
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@
*.log
/.travis.yml.backup
*ini
!aims_test_config.ini
AIMSDataManager/.cache/*
.gitignore
/.cache/
/AimsLogging.html
/Config.html
*.vscode
symbology-style.db
*.zip
3 changes: 3 additions & 0 deletions .qgis-plugin-ci
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
plugin_path: 'QGIS-AIMS-Plugin'
github_organization_slug: linz
project_slug: qgis_aims_plugin
5 changes: 0 additions & 5 deletions AIMSDataManager/.gitignore

This file was deleted.

60 changes: 0 additions & 60 deletions AimsUI/AimsClient/Gui/Ui_AimsQueueWidget.py

This file was deleted.

54 changes: 0 additions & 54 deletions AimsUI/AimsClient/Gui/Ui_ComfirmSelection.py

This file was deleted.

Loading

0 comments on commit 5603a06

Please sign in to comment.