Skip to content

Commit

Permalink
add serial test
Browse files Browse the repository at this point in the history
  • Loading branch information
timglabisch committed Jan 9, 2024
1 parent 272bddd commit f9652a0
Show file tree
Hide file tree
Showing 5 changed files with 226 additions and 102 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
with:
use-cross: true
command: test
args: --target ${{ matrix.platform.target }} --bin vault --test-threads=1
args: --target ${{ matrix.platform.target }} --bin vault

- name: Compile
uses: clechasseur/rs-cargo@v2
Expand Down
113 changes: 113 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@ anyhow = "1.0.*"
byteorder = "1.5.*"
dirs = "5.*"
globset = "0.4.*"
self_update = "0.*"
self_update = "0.*"

[dev-dependencies]
serial_test = "*"
3 changes: 3 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ extern crate dirs;
extern crate globset;
extern crate self_update;

#[cfg(test)]
extern crate serial_test;

use anyhow::{anyhow, format_err, Context, Error};

use clap::{Arg};
Expand Down
Loading

0 comments on commit f9652a0

Please sign in to comment.