From 28dbb2d869b9f33430844e9d58b1719c7064e322 Mon Sep 17 00:00:00 2001 From: Alejandro Villar Date: Mon, 30 Sep 2024 14:44:17 +0200 Subject: [PATCH] Regression testing workflow --- .github/workflows/test-postprocess.yml | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/test-postprocess.yml diff --git a/.github/workflows/test-postprocess.yml b/.github/workflows/test-postprocess.yml new file mode 100644 index 0000000..dad3687 --- /dev/null +++ b/.github/workflows/test-postprocess.yml @@ -0,0 +1,33 @@ +name: Postprocessing regression tests +on: + workflow_dispatch: + workflow_run: + workflows: + - Build Docker image + types: + - completed + +jobs: + test: + if: ${{ github.event.workflow_run.conclusion == 'success' }} + runs-on: ubuntu-latest + + strategy: + matrix: + register: + - repo: opengeospatial/bblocks + items: registereditems + - repo: ogcincubator/bblocks-examples + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + repository: ${{ matrix.register.repo }} + - name: OGC BB postprocess + uses: opengeospatial/bblocks-postprocess/postprocess@master + with: + items_dir: ${{ matrix.register.items || '_sources' }} + fail_on_error: 'true' + deploy_viewer: 'false' + github_base_url: 'https://dummy.github.io/${{ matrix.register.repo }}'