diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 13c748df8..38cb54361 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,14 +49,14 @@ jobs: # RUN_ANALYZER: gcc - name: Linux (clang + asan + llvm-cov) os: ubuntu-22.04 - CC: clang-14 - CXX: clang++-14 + CC: clang-15 + CXX: clang++-15 ERROR_ON_WARNINGS: 1 RUN_ANALYZER: asan,llvm-cov - name: Linux (clang + kcov) os: ubuntu-22.04 - CC: clang-14 - CXX: clang++-14 + CC: clang-15 + CXX: clang++-15 ERROR_ON_WARNINGS: 1 RUN_ANALYZER: kcov - name: Linux (gcc + code-checker + valgrind) @@ -137,6 +137,11 @@ jobs: sudo apt update sudo apt install cmake gcc-7-multilib g++-7-multilib zlib1g-dev:i386 libssl-dev:i386 libcurl4-openssl-dev:i386 + # https://github.com/actions/runner-images/issues/9491 + - name: Decrease vm.mmap_rnd_bit to prevent ASLR ASAN issues + if: ${{ runner.os == 'Linux' && contains(env['RUN_ANALYZER'], 'asan') }} + run: sudo sysctl vm.mmap_rnd_bits=28 + - name: Installing CodeChecker if: ${{ contains(env['RUN_ANALYZER'], 'code-checker') }} run: sudo snap install codechecker --classic diff --git a/tests/assertions.py b/tests/assertions.py index 63b126ded..de97e9b6a 100644 --- a/tests/assertions.py +++ b/tests/assertions.py @@ -54,7 +54,10 @@ def assert_meta( "user": {"id": 42, "username": "some_name"}, "transaction": transaction, "tags": {"expected-tag": "some value"}, - "extra": {"extra stuff": "some value", "…unicode key…": "őá…–🤮🚀¿ 한글 테스트"}, + "extra": { + "extra stuff": "some value", + "…unicode key…": "őá…–🤮🚀¿ 한글 테스트", + }, } expected_sdk = { "name": "sentry.native", diff --git a/tests/requirements.txt b/tests/requirements.txt index c90370ba0..f2b95fabd 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -1,4 +1,4 @@ -black==23.3.0 -pytest==7.4.0 -pytest-httpserver==1.0.8 -msgpack==1.0.5 +black==24.2.0 +pytest==8.0.1 +pytest-httpserver==1.0.10 +msgpack==1.0.8