Skip to content

Commit

Permalink
setup launchable
Browse files Browse the repository at this point in the history
  • Loading branch information
Konboi committed Feb 28, 2024
1 parent 71b6dc0 commit 1b19711
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,31 @@ on:
branches: [ main ]
pull_request:
branches: [ main ]

env:
LAUNCHABLE_TOKEN: ${{ secrets.LAUNCHABLE_TOKEN }}
# OPENAI_TOKEN: ${{ secrets.OPENAI_TOKEN }}

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# for setup launchable command
- uses: actions/setup-python@v5
- name: Install launchable CLI
run: |
pip install launchable
- name: Set up JDK 1.8
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 8
- name: Record commits and build
run: 'launchable record build --name "$GITHUB_RUN_ID" --source .'
- name: Test
run: ./gradlew test --stacktrace
#env:
# OPENAI_TOKEN: ${{ secrets.OPENAI_TOKEN }}
- name: Record
run: launchable record tests gradle **/build/test-results/test/*.xml
if: always()

0 comments on commit 1b19711

Please sign in to comment.