diff --git a/.github/workflows/make-all.yml b/.github/workflows/ci.yml similarity index 97% rename from .github/workflows/make-all.yml rename to .github/workflows/ci.yml index 99afbfc..d294fdc 100644 --- a/.github/workflows/make-all.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: make-all +name: CI on: pull_request: diff --git a/README.md b/README.md index e50dc6f..a742cd6 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ SPDX-License-Identifier: Apache-2.0 ![Kairastra logo](.github/media/kairastra-logo.svg) -[![CI](https://github.com/dbachko/kairastra/actions/workflows/make-all.yml/badge.svg?branch=main)](https://github.com/dbachko/kairastra/actions/workflows/make-all.yml) +[![CI](https://github.com/dbachko/kairastra/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/dbachko/kairastra/actions/workflows/ci.yml) [![License](https://img.shields.io/github/license/dbachko/kairastra)](https://github.com/dbachko/kairastra/blob/main/LICENSE) [![Release](https://img.shields.io/github/v/tag/dbachko/kairastra?sort=semver&label=release)](https://github.com/dbachko/kairastra/tags) [![Docs](https://img.shields.io/badge/docs-workflow%20%2B%20ops-0A7EA4)](https://github.com/dbachko/kairastra/blob/main/docs/workflow-reference.md) diff --git a/rust/src/github.rs b/rust/src/github.rs index 64958da..3aa3214 100644 --- a/rust/src/github.rs +++ b/rust/src/github.rs @@ -3365,7 +3365,7 @@ mod tests { .respond_with(ResponseTemplate::new(200).set_body_json(serde_json::json!({ "check_runs": [ { - "name": "make-all", + "name": "CI", "status": "completed", "conclusion": "failure" } @@ -3407,7 +3407,7 @@ mod tests { .unwrap(); assert_eq!(summary.state, PullRequestChecksState::Failing); - assert_eq!(summary.failing, vec!["make-all".to_string()]); + assert_eq!(summary.failing, vec!["CI".to_string()]); assert!(!summary.allows_review_handoff()); } @@ -3421,7 +3421,7 @@ mod tests { .respond_with(ResponseTemplate::new(200).set_body_json(serde_json::json!({ "check_runs": [ { - "name": "make-all", + "name": "CI", "status": "in_progress", "conclusion": null } @@ -3463,7 +3463,7 @@ mod tests { .unwrap(); assert_eq!(summary.state, PullRequestChecksState::Pending); - assert_eq!(summary.pending, vec!["make-all".to_string()]); + assert_eq!(summary.pending, vec!["CI".to_string()]); assert!(!summary.allows_review_handoff()); } diff --git a/rust/src/runner.rs b/rust/src/runner.rs index fa89d84..53a7f74 100644 --- a/rust/src/runner.rs +++ b/rust/src/runner.rs @@ -579,7 +579,7 @@ mod tests { Some(&PullRequestChecksSummary { state: PullRequestChecksState::Pending, failing: Vec::new(), - pending: vec!["make-all".to_string()], + pending: vec!["CI".to_string()], }), );