Skip to content

Commit f67a894

Browse files
committed
Update to-do list; add Bedrock job to workflow
1 parent c746675 commit f67a894

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

.github/workflows/spring-ai-integration-tests.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Spring AI Integration Tests
22
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
33
on: [push]
44
jobs:
5-
test:
5+
test-azure-openai-model:
66
runs-on: ubuntu-latest
77
steps:
88
- name: Check out repository code
@@ -21,3 +21,22 @@ jobs:
2121
env:
2222
AZURE_OPENAI_API_KEY: foobar
2323
AZURE_OPENAI_ENDPOINT: https://localhost
24+
test-bedrock-model:
25+
runs-on: ubuntu-latest
26+
steps:
27+
- name: Check out repository code
28+
uses: actions/checkout@v4
29+
with:
30+
repository: spring-projects/spring-ai
31+
ref: refs/heads/main
32+
- name: Set up JDK 17
33+
uses: actions/setup-java@v4
34+
with:
35+
java-version: '17'
36+
distribution: 'temurin'
37+
cache: maven
38+
- name: Run Bedrock model tests
39+
run: ./mvnw -pl models/spring-ai-bedrock -Pintegration-tests -Dfailsafe.rerunFailingTestsCount=2 -am verify
40+
env:
41+
AWS_ACCESS_KEY_ID: key
42+
AWS_SECRET_ACCESS_KEY: secret

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This repository contains workflows that define the integration test automation f
66

77
- [X] Azure OpenAI tests running as expected locally
88

9-
- [ ] Github Action workflow that runs Azure OpenAI tests
9+
- [X] Github Action workflow that runs Azure OpenAI tests
1010

1111
- [ ] OpenAI tests running as expected locally
1212
* Understand why some of them are running without `OPENAI_*` variables in env

0 commit comments

Comments
 (0)