name: Test Data Dump Loading integrations

on:
  pull_request:
    paths:
      - 'go/**'
      - 'integration-tests/**'

concurrency:
  group: ci-data-dump-loading-tests-${{ github.event.pull_request.number || github.ref }}
  cancel-in-progress: true

jobs:
  data_dump_laoding_integrations_job:
    runs-on: ubuntu-22.04
    timeout-minutes: 30
    name: Run tests
    steps:
      - name: Checkout
        uses: actions/checkout@v3
      - name: Copy go package
        run: cp -r ./go ./integration-tests/go
      - name: Test data dump loading integrations
        uses: ./.github/actions/data-dump-loading-tests
