Skip to content

Commit 6e998d6

Browse files
committed
Update ci pipeline
Intentionally fail the test to verify badge
1 parent b7edf61 commit 6e998d6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
run: cargo test --workspace --all-targets
4646

4747
build:
48+
needs: [lint, test]
4849
runs-on: ubuntu-latest
4950
steps:
5051
- name: Checkout our code

encryptify-lib/tests/zipper.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ fn test_zip_folder_creates_zip_archive() {
2121
// Assert: Check if the output zip file exists
2222
assert!(Path::new(output_path).exists());
2323

24+
// Intentionally failing the test
25+
assert!(false);
26+
2427
// Cleanup: Remove the test folder and zip file
2528
fs::remove_dir_all(folder_path).unwrap();
2629
fs::remove_file(output_path).unwrap();

0 commit comments

Comments
 (0)