ci(github): add missing MISTRAL_API_KEY env
This commit is contained in:
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -19,6 +19,8 @@ jobs:
|
||||
toolchain: 1.76.0
|
||||
- name: Run tests (with coverage)
|
||||
run: make test-cover
|
||||
env:
|
||||
MISTRAL_API_KEY: ${{ secrets.MISTRAL_API_KEY }}
|
||||
- name: Upload tests coverage
|
||||
uses: codecov/codecov-action@v3
|
||||
with:
|
||||
|
||||
@@ -9,7 +9,7 @@ use mistralai_client::v1::{
|
||||
};
|
||||
|
||||
#[test]
|
||||
fn test_client_new() {
|
||||
fn test_chat_completion() {
|
||||
extern crate dotenv;
|
||||
|
||||
use dotenv::dotenv;
|
||||
|
||||
Reference in New Issue
Block a user