Files
wehub-resource-sync 5357c39144
Race tests / Go race tests (ubuntu-22.04) (push) Waiting to run
Fuzzer / Run Fuzzer (push) Waiting to run
chore: import upstream snapshot with attribution
2026-07-13 13:01:40 +08:00

55 lines
1.7 KiB
YAML

name: Test ORM integrations
on:
pull_request:
paths:
- 'go/**'
- 'integration-tests/**'
workflow_dispatch:
repository_dispatch:
types: [ test-orm-integrations ]
concurrency:
group: ci-orm-tests-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
orm_integrations_job:
runs-on: ubuntu-22.04
timeout-minutes: 30
name: ORM tests
steps:
- name: Checkout
uses: actions/checkout@v6
with:
path: dolt
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build ORM test image
uses: docker/build-push-action@v6
with:
context: .
file: dolt/integration-tests/orm-tests/Dockerfile
tags: orm-tests:latest
load: true
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Test ORM integrations
run: docker run --rm orm-tests:latest
- name: Configure AWS Credentials
if: ${{ failure() && !env.ACT }}
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-west-2
- name: Send Email
if: ${{ failure() && !env.ACT }}
uses: ./.github/actions/ses-email-action
with:
template: 'OrmIntegrationFailureTemplate'
region: us-west-2
version: ${{ github.ref }}
toAddresses: '["jennifer@dolthub.com", "tim@dolthub.com"]'
workflowURL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}