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
24 changes: 23 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,26 @@ jobs:
with:
lfs: true
- uses: moonrepo/setup-rust@v1
- run: cargo test --all

# Install memtrack for the memory integration tests
- name: Install dependencies required for libbpf-sys (vendored feature)
run: sudo apt-get update && sudo apt-get install -y autopoint bison flex
- name: Install memtrack
run: |
cargo install --path crates/memtrack --locked
echo "CODSPEED_MEMTRACK_BINARY=$(which codspeed-memtrack)" >> $GITHUB_ENV

- run: cargo test --all --exclude memtrack

bpf-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
lfs: true
- uses: moonrepo/setup-rust@v1
- name: Install dependencies required for libbpf-sys (vendored feature)
run: sudo apt-get update && sudo apt-get install -y autopoint bison flex
- name: Run tests
run: sudo -E $(which cargo) test
working-directory: crates/memtrack
Loading
Loading