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
|
toolchain: 1.76.0
|
||||||
- name: Run tests (with coverage)
|
- name: Run tests (with coverage)
|
||||||
run: make test-cover
|
run: make test-cover
|
||||||
|
env:
|
||||||
|
MISTRAL_API_KEY: ${{ secrets.MISTRAL_API_KEY }}
|
||||||
- name: Upload tests coverage
|
- name: Upload tests coverage
|
||||||
uses: codecov/codecov-action@v3
|
uses: codecov/codecov-action@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ use mistralai_client::v1::{
|
|||||||
};
|
};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_client_new() {
|
fn test_chat_completion() {
|
||||||
extern crate dotenv;
|
extern crate dotenv;
|
||||||
|
|
||||||
use dotenv::dotenv;
|
use dotenv::dotenv;
|
||||||
|
|||||||
Reference in New Issue
Block a user