-
Notifications
You must be signed in to change notification settings - Fork 18
46 lines (38 loc) · 1.06 KB
/
test_crdb.yml
File metadata and controls
46 lines (38 loc) · 1.06 KB
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
36
37
38
39
40
41
42
43
44
45
46
name: Test (CockroachDB)
on:
workflow_call:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
with:
fetch-depth: 0 # fetch-depth 0 needed for version calculation
- name: Set up JDK temurin 25
uses: actions/setup-java@v5
with:
java-version: '25'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v5
- name: Run tests
run: ./gradlew clean build
env:
PGPASSWORD: dbos
DBOS_TEST_USE_COCKROACH_DB: 'true'
- name: Test Summary
uses: test-summary/action@v2
with:
paths: "transact*/build/test-results/test/TEST-*.xml"
show: "fail, skip"
if: always()
- name: Upload test results
uses: actions/upload-artifact@v7
if: always()
with:
name: test-results-crdb-temurin-25
path: |
transact*/build/reports/tests/
transact*/build/test-results/