Skip to content

Commit

Permalink
Add a dummy test to satisfy nextest. (#66)
Browse files Browse the repository at this point in the history
Keeps the CI functioning with test running assurances.
  • Loading branch information
xStrom authored Nov 27, 2024
1 parent f582191 commit e8a7e5d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ jobs:
save-if: ${{ github.event_name != 'merge_group' }}

- name: cargo nextest
run: cargo nextest run --workspace --locked --all-features --no-fail-fast --no-tests=pass
run: cargo nextest run --workspace --locked --all-features --no-fail-fast

- name: cargo test --doc
run: cargo test --doc --workspace --locked --all-features --no-fail-fast
Expand Down
8 changes: 8 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,11 @@ pub use font::Font;
pub use gradient::{ColorStop, ColorStops, ColorStopsSource, Gradient, GradientKind};
pub use image::{Format, Image};
pub use style::{Fill, Style, StyleRef};

#[cfg(test)]
mod tests {
// CI will fail unless cargo nextest can execute at least one test per workspace.
// Delete this dummy test once we have an actual real test.
#[test]
fn dummy_test_until_we_have_a_real_test() {}
}

0 comments on commit e8a7e5d

Please sign in to comment.