From 33a036f6d85388e596f09b8bfd0a349e7e63a583 Mon Sep 17 00:00:00 2001 From: Denis Rouzaud Date: Tue, 30 Apr 2024 12:16:53 +0200 Subject: [PATCH] Delete .github/workflows/plugin-test.yml --- .github/workflows/plugin-test.yml | 66 ------------------------------- 1 file changed, 66 deletions(-) delete mode 100644 .github/workflows/plugin-test.yml diff --git a/.github/workflows/plugin-test.yml b/.github/workflows/plugin-test.yml deleted file mode 100644 index 13617a1..0000000 --- a/.github/workflows/plugin-test.yml +++ /dev/null @@ -1,66 +0,0 @@ -name: 🪲 Plugin | Tests - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -on: - push: - branches: - - main - paths: - - datamodel/** - - plugin/** - - '.github/workflows/plugin-test.yml' - pull_request: - branches: - - main - paths: - - datamodel/** - - plugin/** - - '.github/workflows/plugin-test.yml' - workflow_dispatch: - - -jobs: - plugin-tests: - name: Run unit tests on plugin - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - qgis_version: [3.28-jammy, latest] - env: - QGIS_TEST_VERSION: ${{ matrix.qgis_version }} - COMPOSE_PROFILES: qgis - - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - submodules: recursive - - - name: Package PyPI Packages - run: sudo ./plugin/scripts/package-pip-packages.sh - - - name: Download Interlis libs - run: sudo ./plugin/scripts/download-interlis-libs.sh - - - name: Docker build - run: docker compose up -d --build - - - name: Test on QGIS - run: docker-compose run qgis /usr/src/plugin/.docker/run-docker-tests.sh - - - name: Test command line import orgs - run: docker-compose run qgis sh -c 'xvfb-run /usr/src/plugin/tww_cmd.py interlis_import --xtf_file /usr/src/plugin/teksi_wastewater/tests/data/minimal-dataset-organisation-arbon-only.xtf --pghost db --pgdatabase tww --pguser postgres --pgpass postgres --pgport 5432' - - - name: Test command line import minimal sia405 - run: docker-compose run qgis sh -c 'xvfb-run /usr/src/plugin/tww_cmd.py interlis_import --xtf_file /usr/src/plugin/teksi_wastewater/tests/data/minimal-dataset-SIA405-ABWASSER.xtf --pghost db --pgdatabase tww --pguser postgres --pgpass postgres --pgport 5432' - - - name: Test command line minimal export - run: docker-compose run qgis sh -c 'xvfb-run /usr/src/plugin/tww_cmd.py interlis_export --xtf_file "output.xtf" --pghost db --pgdatabase tww --pguser postgres --pgpass postgres --pgport 5432' - - - name: docker logs - #if: failure() - run: docker compose logs db