Skip to content

Commit 967cc08

Browse files
committed
runs on every PR
1 parent 50695f6 commit 967cc08

3 files changed

Lines changed: 10 additions & 31 deletions

File tree

.github/actions/orm-tests/action.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 10 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Test Doltgres ORM integrations
2+
on: [pull_request]
23

3-
on:
4-
workflow_dispatch:
5-
repository_dispatch:
6-
types: [ test-doltgres-orm-integrations ]
4+
concurrency:
5+
group: ci-postgres-client-tests-${{ github.event.pull_request.number || github.ref }}
6+
cancel-in-progress: true
77

88
jobs:
99
orm_integrations_job:
@@ -13,21 +13,9 @@ jobs:
1313
steps:
1414
- name: Checkout
1515
uses: actions/checkout@v4
16-
- name: Test Doltgres ORM integrations
17-
uses: ./.github/actions/orm-tests
18-
- name: Configure AWS Credentials
19-
if: ${{ failure() }}
20-
uses: aws-actions/configure-aws-credentials@v4
21-
with:
22-
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
23-
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
24-
aws-region: us-west-2
25-
- name: Send Email
26-
if: ${{ failure() }}
27-
uses: ./.github/actions/ses-email-action
28-
with:
29-
template: 'OrmIntegrationFailureTemplate'
30-
region: us-west-2
31-
version: ${{ github.ref }}
32-
toAddresses: '["jennifer@dolthub.com", "tim@dolthub.com"]'
33-
workflowURL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
16+
- name: Set up Docker
17+
uses: docker/setup-docker-action@v4
18+
- name: Build Docker image
19+
run: docker build -t doltgres-orm-tests -f testing/DoltgresORMDockerfile .
20+
- name: Run tests
21+
run: docker run --detach=false doltgres-orm-tests

.github/workflows/nightly-performance-benchmarks-email-report.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,3 @@ jobs:
2020
token: ${{ secrets.REPO_ACCESS_TOKEN }}
2121
event-type: sql-correctness
2222
client-payload: '{"version": "${{ github.sha }}", "mode": "nightly", "actor": "${{ github.actor }}", "template_script": "./.github/scripts/sql-correctness/get-doltgres-correctness-job-json.sh"}'
23-
- uses: peter-evans/repository-dispatch@v3
24-
with:
25-
token: ${{ secrets.REPO_ACCESS_TOKEN }}
26-
event-type: test-doltgres-orm-integrations

0 commit comments

Comments
 (0)