fix: test ci

This commit is contained in:
Charles GTE
2026-06-06 19:43:54 +02:00
parent f9bf481c79
commit 2d52eccbb2
2 changed files with 6 additions and 4 deletions
+4 -1
View File
@@ -38,7 +38,7 @@ jobs:
-e RUSTFLAGS \
-e LLVM_PROFILE_FILE \
agent-test bash -c "
cargo clean &&
rm -rf /app/target/* &&
cargo test --verbose &&
sync
"
@@ -74,6 +74,9 @@ jobs:
echo "lcov.info size:" $(wc -c ./lcov.info | awk '{print $1}')
head -n 30 ./lcov.info || true
- name: Import Codecov GPG key
run: curl -s https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --import
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
@@ -22,8 +22,7 @@ pub struct BackupUpdateRequest {
pub size: Option<u64>,
#[serde(rename = "generatedId")]
pub generated_id: String,
#[serde(rename = "jobLogs")]
pub job_logs: Vec<JobLogEntry>,
pub logs: Vec<JobLogEntry>,
}
impl ApiClient {
@@ -59,7 +58,7 @@ impl ApiClient {
status: status.into(),
size: file_size.into(),
generated_id: generated_id.into(),
job_logs,
logs: job_logs,
};
let agent_id = agent_id.into();