Skip to content

Commit

Permalink
Disable leak detection and add CI job to C++ PRs (#3486)
Browse files Browse the repository at this point in the history
Disable leak detection from ASAN CI job and enable the job for general C++ PRs.
  • Loading branch information
jp-dark authored Dec 19, 2024
1 parent 0ff3f16 commit dcbdba2
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/libtiledbsoma-asan-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@ name: libtiledbsoma ASAN

on:
pull_request:
paths:
- '.github/workflows/libtiledbsoma-asan-ci.yml'
schedule:
- cron: 20 8 * * 0
paths-ignore:
- "apis/python/**"
- "apis/r/**"
- ".pre-commit-config.yaml"
push:
branches:
- main
- 'release-*'
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -34,4 +38,4 @@ jobs:
cmake --build build -j 2
ls external/lib/
- name: Run C++ unittests
run: ctest --test-dir build/libtiledbsoma -C ASAN --verbose --rerun-failed --output-on-failure
run: ASAN_OPTIONS=detect_leaks=0 ctest --test-dir build/libtiledbsoma -C ASAN --verbose --rerun-failed --output-on-failure

0 comments on commit dcbdba2

Please sign in to comment.