Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,31 @@
- name: Run tests
run: cargo test -p exec-harness

basic-run-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
with:
submodules: true
- name: "Install rust-toolchain.toml"
run: rustup toolchain install
# We use Swatinem/rust-cache to cache cargo registry, index and target in this job
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2
- name: Run tests
run: cargo run -- exec -m simulation,walltime,memory --skip-upload -- ls -la

bpf-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
with:
lfs: true
submodules: true
- uses: moonrepo/setup-rust@ede6de059f8046a5e236c94046823e2af11ca670 # v1
- name: Install dependencies required for libbpf-sys (vendored feature)
run: sudo apt-get update && sudo apt-get install -y autopoint bison flex

- name: Install additional allocators

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
run: sudo apt-get install -y libmimalloc-dev libjemalloc-dev

- name: Run tests
Expand Down
9 changes: 4 additions & 5 deletions src/cli/shared.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@ pub(crate) fn show_banner() {
let url = style("codspeed.io").color256(CODSPEED_U8_COLOR_CODE);
let separator = style("─".repeat(52)).dim();

eprintln!();
eprintln!("{}", style(logo).color256(CODSPEED_U8_COLOR_CODE).bold());
eprintln!(" {separator}");
eprintln!(" {url} {version_tag}");
eprintln!();
eprintln!(
"\n{}\n {separator}\n {url} {version_tag}\n",
style(logo).color256(CODSPEED_U8_COLOR_CODE).bold()
);
debug!("codspeed v{VERSION}");
}

Expand Down
Loading