forked from pflooky/data-caterer
-
-
Notifications
You must be signed in to change notification settings - Fork 5
28 lines (26 loc) · 987 Bytes
/
check.yml
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
name: Check if build passes and integration tests are successful
on:
push:
branches-ignore:
- "main"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Gradle build with cache
uses: burrunan/gradle-cache-action@v1
with:
arguments: ":app:shadowJar"
- name: Run integration tests
id: tests
uses: data-catering/insta-integration@v1
env:
LOG_LEVEL: debug
- name: Print results
run: |
echo "Records generated: ${{ steps.tests.outputs.num_records_generated }}"
echo "Successful validations: ${{ steps.tests.outputs.num_success_validations }}"
echo "Failed validations: ${{ steps.tests.outputs.num_failed_validations }}"
echo "Number of validations: ${{ steps.tests.outputs.num_validations }}"
echo "Validation success rate: ${{ steps.tests.outputs.validation_success_rate }}"