Skip to content

Commit 1b19711

Browse files
committed
setup launchable
1 parent 71b6dc0 commit 1b19711

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/test.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,31 @@ on:
55
branches: [ main ]
66
pull_request:
77
branches: [ main ]
8+
9+
env:
10+
LAUNCHABLE_TOKEN: ${{ secrets.LAUNCHABLE_TOKEN }}
11+
# OPENAI_TOKEN: ${{ secrets.OPENAI_TOKEN }}
12+
813
jobs:
914
test:
1015
runs-on: ubuntu-latest
1116
steps:
1217
- uses: actions/checkout@v4
18+
# for setup launchable command
19+
- uses: actions/setup-python@v5
20+
- name: Install launchable CLI
21+
run: |
22+
pip install launchable
1323
- name: Set up JDK 1.8
1424
uses: actions/setup-java@v4
1525
with:
1626
distribution: temurin
1727
java-version: 8
28+
- name: Record commits and build
29+
run: 'launchable record build --name "$GITHUB_RUN_ID" --source .'
1830
- name: Test
1931
run: ./gradlew test --stacktrace
20-
#env:
21-
# OPENAI_TOKEN: ${{ secrets.OPENAI_TOKEN }}
32+
- name: Record
33+
run: launchable record tests gradle **/build/test-results/test/*.xml
34+
if: always()
35+

0 commit comments

Comments
 (0)