Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
30900b0
Add changes for code cov builds
Aug 15, 2023
14d85c7
Add a temp trigger for testing
Aug 15, 2023
1f37fec
Test some fixes for cpp build
Aug 16, 2023
c99bb13
Add container
Aug 16, 2023
3d592fe
Add container
Aug 16, 2023
866a9c2
Add container
Aug 16, 2023
5ced867
Add container
Aug 16, 2023
8433b1d
Test build only
Aug 16, 2023
c4d7883
Actually run the tests
Aug 16, 2023
f560826
TEst with new python commands
Aug 16, 2023
d9bf47c
Test with only pip
Aug 16, 2023
d7f48a2
Add python3 to coverage comamnd
Aug 16, 2023
e17b756
Add python3 to coverage comamnd
Aug 16, 2023
90ca865
Test with different folders for gcovr
Aug 16, 2023
58eda5f
Try to run Gcovr manually
Aug 17, 2023
51a4e97
Add vcpkg caching; Add dir for coverage saving
Aug 17, 2023
2f177c7
Try by hard coding the covergae flags
Aug 17, 2023
679a1a6
Fix issue with pip install
Aug 17, 2023
58ec29a
Try with a different pip isntall command
Aug 17, 2023
ec156be
Try to source the dev env
Aug 17, 2023
bcfb78c
Try to hardcode deps for now
Aug 17, 2023
ee50408
Try to hardcode deps for now
Aug 17, 2023
bf80062
Try to hardcode deps for now
Aug 17, 2023
36cbdc1
Add a symlink for arcticdb_ext
Aug 17, 2023
65bfcf3
Add a symlink for arcticdb_ext
Aug 17, 2023
e827d4f
Add a symlink for arcticdb_ext
Aug 17, 2023
6a0a3f5
Test debug
Aug 17, 2023
36555c5
Test debug
Aug 17, 2023
1bc4019
Test debug
Aug 17, 2023
5a463e7
Test debug
Aug 17, 2023
510f08e
Find
Aug 17, 2023
b2cdbdc
Try with internal python
Aug 17, 2023
a264b98
Try with internal python
Aug 17, 2023
9512558
Fix typo in symlink
Aug 17, 2023
175edbb
Add google as dep
Aug 17, 2023
590516f
Add protobuf as dep
Aug 17, 2023
f4b7e8a
Stop the cpp tests for now
Aug 17, 2023
f45d255
Try with env MAN_ARCTICDB_USE_ARCTICDB=true
Aug 17, 2023
a9e63cd
Try with env MAN_ARCTICDB_USE_ARCTICDB=true
Aug 18, 2023
3052467
Try to import artcticc
Aug 18, 2023
da7542b
Try to recreate protobuf files
Aug 18, 2023
02fa96f
Add grpcio install
Aug 18, 2023
50ff7dc
Change pip install steps
Aug 18, 2023
1a3cd85
Test coverage
Aug 18, 2023
0f43c7e
Test coverage
Aug 18, 2023
0008dd8
Fix issue with commans in install command
Aug 18, 2023
9461e2a
Add gcovr step and get the full report
Aug 18, 2023
436da4b
Run tests in parallel
Aug 18, 2023
7fcde97
Run only integration tests
Aug 18, 2023
abdde35
Install azurite
Aug 18, 2023
3576138
Install azurite
Aug 18, 2023
5c4cc10
Run only unit tests
Aug 18, 2023
fa28893
Run only integration tests
Aug 18, 2023
a043f32
Run only integration tests
Aug 18, 2023
28a86af
Run only integration tests
Aug 18, 2023
4ad71f3
Add mongodb to workflow
Aug 18, 2023
8b2a187
Add mongodb to workflow
Aug 18, 2023
a422ea8
Test with full suite
Aug 18, 2023
74bad91
Remove paralell pytests
Aug 18, 2023
71d988f
Try to run parallel pytests
Aug 18, 2023
48f9541
Try to run parallel pytests
Aug 18, 2023
229a137
Copy the parallel tests script to the python folder, before executing it
Aug 21, 2023
3a28c3a
Copy the parallel tests script to the python folder, before executing it
Aug 21, 2023
dec36df
Tests with the coverage package
Aug 21, 2023
937241e
Merge remote-tracking branch 'origin/master' into analysis_workflow
Aug 21, 2023
91364e1
Tests with the coverage package
Aug 21, 2023
0136ffd
Tests with persistent tests
Aug 21, 2023
6edc006
Test caching the coverage
Aug 21, 2023
e097f28
Test caching the coverage
Aug 21, 2023
0ea2848
Test caching the coverage
Aug 21, 2023
fbe3b91
Test caching the coverage
Aug 21, 2023
714da9a
Fix python ref
Aug 21, 2023
f68e3ad
Fix refs
Aug 21, 2023
8c27a0c
Remove test_stress_version_map_compact to speed up testing
Aug 21, 2023
a6c0f15
Remove test_stress_version_map_compact to speed up testing
Aug 22, 2023
ffcec68
Test with py coverage
Aug 22, 2023
1568bc0
Test with py coverage
Aug 22, 2023
0551a94
Save Python Coverage
Aug 22, 2023
4044c58
Fix windows matrix
Aug 22, 2023
6cfbace
Disable the python tests to test the slack integration
Aug 22, 2023
d960ac2
Disable the python tests to test the slack integration
Aug 22, 2023
fec1ef3
Fix channel id for slack integration@
Aug 22, 2023
06e1b4c
Fix slack action
Aug 22, 2023
d149c23
Change the slack confition for testing
Aug 22, 2023
d9a989f
One final run to make sure all is okay
Aug 22, 2023
bb60ba0
One final run to make sure all is okay
Aug 22, 2023
ca669c3
Change build trigger
Aug 22, 2023
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
293 changes: 293 additions & 0 deletions .github/workflows/analysis_workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,293 @@
name: Build with analysis tools
on:
workflow_dispatch:
inputs:
run:
type: boolean

push:
branches: ["**"]
tags: [v**]
paths:
- .github/workflows/*.yml
- build_tooling/**
- cpp/**
- python/**
- setup.*
- pyproject.toml
jobs:
common_config:
runs-on: ubuntu-latest
strategy:
matrix:
include:
# Use a matrix to build the common hierarchical structure used by multiple matrix jobs in build_steps.yaml
# Please declare any key you added below in build_steps.yaml's dummy matrix as well to aid the linting tools
- linux_matrix:
- os: linux
distro: ubuntu-latest
cmake_preset_prefix: linux
cibw_build_suffix: manylinux_x86_64
build_dir: /tmp/cpp_build
symbols: "*.gz" # Please update publish.yml when changing this!!
do_not_archive: ["*.so", "*.[ao]", "vcpkg_installed"]
test_services:
mongodb: { image: "mongo:4.4" }
windows_matrix:
- os: windows
distro: windows-latest
cmake_preset_prefix: windows-cl
cibw_build_suffix: win_amd64
build_dir: C:\cpp_build
symbols: "*.pdb" # Please update publish.yml when changing this!!
do_not_archive: ["*.lib", "*.ilk", "*.pyd", "*.dll", "CMakeFiles/*.dir", "vcpkg_installed"]
test_services: {}
steps:
- run: |
echo "Configuring"
outputs:
linux_matrix: ${{toJson(matrix.linux_matrix)}}
windows_matrix: ${{toJson(matrix.windows_matrix)}}

cibw_docker_image:
uses: ./.github/workflows/cibw_docker_image.yml
permissions: {packages: write}
with:
cibuildwheel_ver: "2.12.1"
force_update: false

pre_seed_cleanup:
name: Cleanup persistent storages
uses: ./.github/workflows/persistent_storage.yml
secrets: inherit
with:
job_type: cleanup

persistent_storage_seed_linux:
needs: [pre_seed_cleanup, common_config]
strategy:
fail-fast: false
matrix:
python3: ${{fromJson(vars.LINUX_PYTHON_VERSIONS || '[6, 7, 8, 9, 10, 11]')}}
include:
- python_deps_ids: [""]
matrix_override: ${{fromJson(needs.common_config.outputs.linux_matrix)}}
name: Seed Persistent Storage for 3.${{matrix.python3}} Linux
uses: ./.github/workflows/persistent_storage.yml
secrets: inherit
permissions: {packages: write}
with:
job_type: seed
python3: ${{matrix.python3}}
matrix: ${{toJson(matrix.matrix_override)}}
python_deps_ids: ${{toJson(matrix.python_deps_ids)}}

persistent_storage_seed_windows:
needs: [pre_seed_cleanup, common_config]
strategy:
fail-fast: false
matrix:
python3: ${{fromJson(vars.WINDOWS_PYTHON_VERSIONS || '[7, 8, 9, 10, 11]')}}
include:
- python_deps_ids: [""]
matrix_override: ${{fromJson(needs.common_config.outputs.windows_matrix)}}
name: Seed Persistent Storage for 3.${{matrix.python3}} Windows
uses: ./.github/workflows/persistent_storage.yml
secrets: inherit
permissions: {packages: write}
with:
job_type: seed
python3: ${{matrix.python3}}
matrix: ${{toJson(matrix.matrix_override)}}
python_deps_ids: ${{toJson(matrix.python_deps_ids)}}

code_coverage:
needs: [cibw_docker_image, persistent_storage_seed_linux]
runs-on: "ubuntu-latest"
container:
image: ${{needs.cibw_docker_image.outputs.tag}}
services:
mongodb:
image: mongo:4.4
ports:
- 27017:27017
env:
SCCACHE_GHA_VERSION: ${{vars.SCCACHE_GHA_VERSION || 1}} # Setting this env var enables the caching
VCPKG_NUGET_USER: ${{secrets.VCPKG_NUGET_USER || github.repository_owner}}
VCPKG_NUGET_TOKEN: ${{secrets.VCPKG_NUGET_TOKEN || secrets.GITHUB_TOKEN}}
VCPKG_MAN_NUGET_USER: ${{secrets.VCPKG_MAN_NUGET_USER}} # For forks to download pre-compiled dependencies from the Man repo
VCPKG_MAN_NUGET_TOKEN: ${{secrets.VCPKG_MAN_NUGET_TOKEN}}
CMAKE_C_COMPILER_LAUNCHER: sccache
CMAKE_CXX_COMPILER_LAUNCHER: sccache
ARCTIC_CMAKE_PRESET: linux-debug
CIBW_ENVIRONMENT_PASS_LINUX: SCCACHE_GHA_VERSION ACTIONS_CACHE_URL ACTIONS_RUNTIME_TOKEN VCPKG_INSTALLATION_ROOT
VCPKG_BINARY_SOURCES VCPKG_NUGET_USER VCPKG_NUGET_TOKEN VCPKG_MAN_NUGET_USER VCPKG_MAN_NUGET_TOKEN
CMAKE_C_COMPILER_LAUNCHER CMAKE_CXX_COMPILER_LAUNCHER CMAKE_BUILD_PARALLEL_LEVEL ARCTIC_CMAKE_PRESET
steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- name: Get number of CPU cores
uses: SimenB/github-actions-cpu-cores@v1
id: cpu-cores

- name: Configure sccache
uses: mozilla-actions/[email protected]
with:
version: "v0.4.0"

- name: Extra envs
run: |
. build_tooling/vcpkg_caching.sh # Linux follower needs another call in CIBW
echo -e "VCPKG_BINARY_SOURCES=$VCPKG_BINARY_SOURCES
VCPKG_ROOT=$PLATFORM_VCPKG_ROOT" | tee -a $GITHUB_ENV
cmake -P cpp/CMake/CpuCount.cmake | sed 's/^-- //' | tee -a $GITHUB_ENV
env:
CMAKE_BUILD_PARALLEL_LEVEL: ${{vars.CMAKE_BUILD_PARALLEL_LEVEL}}

- name: Prepare C++ compilation env
run: . build_tooling/prep_cpp_build.sh

- name: CMake compile
uses: lukka/run-cmake@v10
with:
cmakeListsTxtPath: ${{github.workspace}}/cpp/CMakeLists.txt
configurePreset: ${{env.ARCTIC_CMAKE_PRESET}}
buildPreset: ${{env.ARCTIC_CMAKE_PRESET}}
env:
ARCTICDB_CODE_COVERAGE_BUILD: 1

- name: Run C++ Tests
shell: bash -l {0}
run: |
cd cpp/out/linux-debug-build/
make -j ${{ steps.cpu-cores.outputs.count }} arcticdb_rapidcheck_tests
make -j ${{ steps.cpu-cores.outputs.count }} test_unit_arcticdb
ctest

- name: Set real storage variables
run: |
# Common
echo "ARCTICDB_PERSISTENT_STORAGE_TESTS=1" >> $GITHUB_ENV
echo "ARCTICDB_PERSISTENT_STORAGE_BRANCH_NAME=${{ github.run_id }}" >> $GITHUB_ENV
# S3 Specific
# TODO: Add these as GitHub variables
echo "ARCTICDB_REAL_S3_BUCKET=arcticdb-ci-test-bucket-01" >> $GITHUB_ENV
echo "ARCTICDB_REAL_S3_ENDPOINT=s3.eu-west-2.amazonaws.com" >> $GITHUB_ENV
echo "ARCTICDB_REAL_S3_REGION=eu-west-2" >> $GITHUB_ENV
echo "ARCTICDB_REAL_S3_CLEAR=1" >> $GITHUB_ENV
echo "ARCTICDB_REAL_S3_ACCESS_KEY=${{ secrets.AWS_S3_ACCESS_KEY }}" >> $GITHUB_ENV
echo "ARCTICDB_REAL_S3_SECRET_KEY=${{ secrets.AWS_S3_SECRET_KEY }}" >> $GITHUB_ENV

- name: Test with pytest
shell: bash -l {0}
run: |
yum install nodejs npm -y
npm config set strict-ssl false
npm install -g azurite
/opt/python/cp36-cp36m/bin/python -m pip install --upgrade pip
/opt/python/cp36-cp36m/bin/python -m pip install pycparser six cffi urllib3 python-dateutil PyJWT jmespath idna cryptography charset-normalizer certifi requests py pluggy path oauthlib MarkupSafe iniconfig dataclasses botocore attrs Werkzeug termcolor s3transfer requests-oauthlib pytz pytest protobuf portalocker path.py numpy msal mock Jinja2 itsdangerous isodate grpcio execnet decorator contextlib2 click azure-core xxhash xmltodict sortedcontainers retry responses pyyaml pytest-shutil pytest-fixture-config psutil prometheus-client pandas msrest msgpack msal-extensions grpcio-tools future flask colorama boto3 pytest-timeout pytest-server-fixtures pytest-cpp pymongo moto hypothesis flask-cors azure-storage-blob azure-identity coverage pytest-xdist
/opt/python/cp36-cp36m/bin/python -m grpc_tools.protoc -Icpp/proto --python_out=./python cpp/proto/arcticc/pb2/*.proto
cd python
export MAN_ARCTICDB_USE_ARCTICDB=True
ln -s ../cpp/out/linux-debug-build/arcticdb/arcticdb_ext.cpython-36m-x86_64-linux-gnu.so
/opt/python/cp36-cp36m/bin/python -m coverage run -m pytest tests
env:
TEST_OUTPUT_DIR: ${{runner.temp}}
# Use the Mongo created in the service container above to test against
CI_MONGO_HOST: mongodb
ARCTICDB_PERSISTENT_STORAGE_LIB_NAME: 'test_${{ github.run_id }}_${{matrix.os}}_${{env.python_impl_name}}${{matrix.python_deps_id}}'

- name: Get python Coverage report
shell: bash -l {0}
run: |
cd python
/opt/python/cp36-cp36m/bin/python -m coverage report -m | tee output.txt
/opt/python/cp36-cp36m/bin/python -m coverage html
zip -r python_cov.zip htmlcov/

echo "PYTHON_COV_PERCENT=$(cat output.txt | grep 'TOTAL' | awk '{print $NF}' | tr -d '%')" >> $GITHUB_ENV

- name: Run Gcovr manually post-pytest
shell: bash -l {0}
run: |
cd cpp/out/linux-debug-build/
python3 -m pip install gcovr
mkdir coverage
python3 -m gcovr --txt --html-details coverage/index.html -e vcpkg_installed/ -e proto/ -e ../../third_party -e ../../arcticdb/util/test/ -r ../.. --exclude-throw-branches --exclude-unreachable-branches -u --exclude-function-lines | tee output.txt
zip -r coverage.zip coverage/

echo "CPP_COV_PERCENT=$(cat output.txt | grep 'TOTAL' | awk '{print $NF}' | tr -d '%')" >> $GITHUB_ENV

- name: Upload Coverage
uses: actions/upload-artifact@v3
with:
name: cpp-coverage-artifact
path: cpp/out/linux-debug-build/coverage.zip

- name: Upload Python Coverage
uses: actions/upload-artifact@v3
with:
name: python-coverage-artifact
path: python/python_cov.zip

- name: Restore cpp cache
id: cache
uses: actions/cache@v2
with:
path: coverage.txt
key: coverage

- name: Get and compare coverage if cache was restored
run: |
# if cache was restored, compare coverage
if [ -f coverage.txt ]; then
PREV_COVERAGE=$(cat coverage.txt | cut -d' ' -f2)
echo "Previous coverage: $PREV_COVERAGE"
CURR_COVERAGE=${{env.CPP_COV_PERCENT}}
echo "CPP_COV_PREV_PERCENT=$PREV_COVERAGE" >> $GITHUB_ENV
echo "Current coverage: $CURR_COVERAGE"
if [ $CURR_COVERAGE -gt $PREV_COVERAGE ]; then
echo "Coverage increased"
elif [ $CURR_COVERAGE -lt $PREV_COVERAGE ]; then
echo "Coverage decreased"
else
echo "Coverage unchanged"
fi
fi

- name: Save coverage percentage to file
run: |
echo "Coverage: ${{ env.CPP_COV_PERCENT }}" > coverage.txt

- name: Check percentage and send Slack notification
if: ${{ env.CPP_COV_PREV_PERCENT && env.CPP_COV_PERCENT && env.CPP_COV_PERCENT <= env.CPP_COV_PREV_PERCENT }}
uses: slackapi/[email protected]
with:
# For posting a rich message using Block Kit
payload: |
{
"text": "The CPP Code Coverage has been reduced",
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "The CPP Code Coverage from the current run(${{ env.CPP_COV_PERCENT }}%) is lower the previous one(${{ env.CPP_COV_PREV_PERCENT }}%)."
}
}
]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.TEST_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK

persistent_storages_cleanup:
needs: [code_coverage]
if: always()
name: Cleanup persistent storages
uses: ./.github/workflows/persistent_storage.yml
secrets: inherit
with:
job_type: cleanup
4 changes: 2 additions & 2 deletions .github/workflows/build_steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ jobs:
run: |
# Common
echo "ARCTICDB_PERSISTENT_STORAGE_TESTS=1" >> $GITHUB_ENV
echo "ARCTICDB_PERSISTENT_STORAGE_BRANCH_NAME=${{ github.ref_name }}" >> $GITHUB_ENV
echo "ARCTICDB_PERSISTENT_STORAGE_BRANCH_NAME=${{ github.run_id }}" >> $GITHUB_ENV
# S3 Specific
echo "ARCTICDB_REAL_S3_BUCKET=${{ inputs.bucket }}" >> $GITHUB_ENV
echo "ARCTICDB_REAL_S3_ENDPOINT=${{ inputs.endpoint }}" >> $GITHUB_ENV
Expand All @@ -285,7 +285,7 @@ jobs:
TEST_OUTPUT_DIR: ${{runner.temp}}
# Use the Mongo created in the service container above to test against
CI_MONGO_HOST: mongodb
ARCTICDB_PERSISTENT_STORAGE_LIB_NAME: 'test_${{ github.ref_name }}_${{matrix.os}}_${{env.python_impl_name}}${{matrix.python_deps_id}}'
ARCTICDB_PERSISTENT_STORAGE_LIB_NAME: 'test_${{ github.run_id }}_${{matrix.os}}_${{env.python_impl_name}}${{matrix.python_deps_id}}'


- name: Collect crash dumps (Windows)
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/persistent_storage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
matrix: {type: string, description: JSON string to feed into the matrix}
python_deps_ids: {default: '[""]', type: string, description: Follower test matrix parameter. JSON string.}
python3: {default: -1, type: number, description: Python 3 minor version}
storage_prefix: {default: "", type: string, description: Sets a prefix for the libraries that will be written by the seed storage job}
# TODO: Maybe we should add these as GitHub variables
bucket: {default: 'arcticdb-ci-test-bucket-01', type: string, description: The name of the S3 bucket that we will test against}
endpoint: {default: 's3.eu-west-2.amazonaws.com', type: string, description: The address of the S3 endpoint}
Expand Down Expand Up @@ -57,7 +58,7 @@ jobs:
run: |
# General
echo "ARCTICDB_PERSISTENT_STORAGE_TESTS=1" >> $GITHUB_ENV
echo "ARCTICDB_PERSISTENT_STORAGE_BRANCH_NAME=${{ github.ref_name }}" >> $GITHUB_ENV
echo "ARCTICDB_PERSISTENT_STORAGE_BRANCH_NAME=${{ github.run_id }}" >> $GITHUB_ENV
# S3 Specific
echo "ARCTICDB_REAL_S3_BUCKET=${{ inputs.bucket }}" >> $GITHUB_ENV
echo "ARCTICDB_REAL_S3_ENDPOINT=${{ inputs.endpoint }}" >> $GITHUB_ENV
Expand All @@ -69,15 +70,15 @@ jobs:
- name: Seed the storage
if: inputs.job_type == 'seed'
run: |
echo "Running seed for ${{ github.ref_name }} on ${{matrix.os}}_${{env.python_impl_name}}"
echo "Running seed for ${{ github.run_id }} on ${{matrix.os}}_${{env.python_impl_name}}"
python build_tooling/seed_storage.py
env:
ARCTICDB_PERSISTENT_STORAGE_LIB_NAME: 'seed_${{ github.ref_name }}_${{matrix.os}}_${{env.python_impl_name}}'
ARCTICDB_PERSISTENT_STORAGE_LIB_NAME: 'seed_${{ github.run_id }}_${{matrix.os}}_${{env.python_impl_name}}'

- name: Verify the storage
if: inputs.job_type == 'verify'
run: |
echo "Running verify for ${{ github.ref_name }} on ${{matrix.os}}_${{env.python_impl_name}}"
echo "Running verify for ${{ github.run_id }} on ${{matrix.os}}_${{env.python_impl_name}}"
python build_tooling/verify_storage.py

cleanup:
Expand All @@ -100,7 +101,7 @@ jobs:
run: |
# General
echo "ARCTICDB_PERSISTENT_STORAGE_TESTS=1" >> $GITHUB_ENV
echo "ARCTICDB_PERSISTENT_STORAGE_BRANCH_NAME=${{ github.ref_name }}" >> $GITHUB_ENV
echo "ARCTICDB_PERSISTENT_STORAGE_BRANCH_NAME=${{ github.run_id }}" >> $GITHUB_ENV
# S3 Specific
echo "ARCTICDB_REAL_S3_BUCKET=${{ inputs.bucket }}" >> $GITHUB_ENV
echo "ARCTICDB_REAL_S3_ENDPOINT=${{ inputs.endpoint }}" >> $GITHUB_ENV
Expand All @@ -111,5 +112,5 @@ jobs:

- name: Clean the storage
run: |
echo "Running cleanup for ${{ github.ref_name }}"
echo "Running cleanup for ${{ github.run_id }}"
python build_tooling/cleanup_storage.py
3 changes: 3 additions & 0 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra")
endif()
set(CMAKE_CXX_FLAGS_DEBUG "-ggdb")
if(DEFINED ENV{ARCTICDB_CODE_COVERAGE_BUILD})
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} --coverage -g -O0")
endif()
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O3 -ggdb")
endif()
Expand Down
2 changes: 1 addition & 1 deletion python/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

import requests
from pytest_server_fixtures.base import get_ephemeral_port

import arcticc
from arcticdb.arctic import Arctic
from arcticdb.version_store.helper import (
create_test_lmdb_cfg,
Expand Down
Loading