Skip to content

Commit

Permalink
workflow_run
Browse files Browse the repository at this point in the history
  • Loading branch information
mxfactorial committed Nov 4, 2023
1 parent 0f907e4 commit fc0e007
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dev-crates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ jobs:
working-directory: crates/types
- name: crates/types coverage report
run: make rust-coverage RUST_PKG=types
- name: fail crates/types coverage under 98%
- name: fail crates/types coverage under 97%
run: |
if [[ $(make rust-coverage-percent RUST_PKG=types) -lt 98 ]]; then
echo 'coverage dropped below 98%'
if [[ $(make rust-coverage-percent RUST_PKG=types) -lt 97 ]]; then
echo 'coverage dropped below 97%'
exit 1
fi
6 changes: 3 additions & 3 deletions .github/workflows/dev-rule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ jobs:
working-directory: services/rule
- name: services/rule coverage report
run: make rust-coverage RUST_PKG=rule
- name: fail services/rule coverage under 67%
- name: fail services/rule coverage under 66%
run: |
if [[ $(make rust-coverage-percent RUST_PKG=rule) -lt 67 ]]; then
echo 'coverage dropped below 67%'
if [[ $(make rust-coverage-percent RUST_PKG=rule) -lt 66 ]]; then
echo 'coverage dropped below 66%'
exit 1
fi
1 change: 0 additions & 1 deletion services/rule/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,6 @@ mod tests {
#[tokio::test]
async fn it_applies_transaction_item_rules() {
let db_conn_stub = Arc::new(DBConnStub()) as DynDBConn;

let tr_items = TransactionItems(vec![
TransactionItem {
id: None,
Expand Down

0 comments on commit fc0e007

Please sign in to comment.