Skip to content

Commit

Permalink
chore: add new step in ci: functional test with own stack unwind impl…
Browse files Browse the repository at this point in the history
…ementation
  • Loading branch information
godzie44 committed Sep 30, 2023
1 parent d2d810e commit 2054a5c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: 3.7
- name: Install libunwind
run: sudo apt-get install libunwind-dev
- name: Install libunwind and dbg symbols
run: sudo apt-get install libunwind-dev ubuntu-dbgsym-keyring
- name: Install test dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -30,10 +30,10 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: test
- name: Build debugger for integration tests
run: make build-test
- name: Run integration tests
run: make int-test
- name: Run functional tests on own stack unwind implementation
run: make cargo-test-no-libunwind

lint:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ build-all: build
cargo-test:
cargo test --features "int_test"

cargo-test-no-libunwind:
cargo test --features "int_test, no_libunwind"

int-test: build-test
python3 -m unittest discover ./tests/integration/ -v

Expand Down

0 comments on commit 2054a5c

Please sign in to comment.