-
-
Notifications
You must be signed in to change notification settings - Fork 525
35 lines (33 loc) · 1.12 KB
/
ci-orm-tests.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Test ORM integrations
on:
workflow_dispatch:
repository_dispatch:
types: [ test-orm-integrations ]
jobs:
orm_integrations_job:
runs-on: ubuntu-22.04
timeout-minutes: 30
name: Run tests
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Copy go package
run: cp -r ./go ./integration-tests/go
- name: Test ORM integrations
uses: ./.github/actions/orm-tests
- name: Configure AWS Credentials
if: ${{ failure() }}
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() }}
uses: ./.github/actions/ses-email-action
with:
template: 'OrmIntegrationFailureTemplate'
region: us-west-2
version: ${{ github.ref }}
toAddresses: '["[email protected]", "[email protected]"]'
workflowURL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}