mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-10 04:35:03 -05:00
refactor: restructure the tests directory layout
This commit is contained in:
@@ -54,7 +54,7 @@ jobs:
|
||||
pip install pytest
|
||||
export CONCRETE_PROJECT=/concrete
|
||||
make -B BUILD_DIR=/build build-initialized
|
||||
make BUILD_DIR=/build test
|
||||
make BUILD_DIR=/build run-tests
|
||||
|
||||
- name: Send Slack Notification
|
||||
if: ${{ always() }}
|
||||
|
||||
8
.github/workflows/continuous-integration.yml
vendored
8
.github/workflows/continuous-integration.yml
vendored
@@ -127,7 +127,7 @@ jobs:
|
||||
rm -rf /build
|
||||
/opt/python/cp38-cp38/bin/pip install pytest
|
||||
sed "s/pytest/\/opt\/python\/cp38-cp38\/bin\/python -m pytest/g" -i Makefile
|
||||
make CXX_COMPILER=/gcc7/bin/g++-7.5.0 CC_COMPILER=/gcc7/bin/gcc-7.5.0 CCACHE=ON Python3_EXECUTABLE=/opt/python/cp38-cp38/bin/python BUILD_DIR=/build all test
|
||||
make CXX_COMPILER=/gcc7/bin/g++-7.5.0 CC_COMPILER=/gcc7/bin/gcc-7.5.0 CCACHE=ON Python3_EXECUTABLE=/opt/python/cp38-cp38/bin/python BUILD_DIR=/build all run-tests
|
||||
echo "Debug: ccache statistics (after the build):"
|
||||
ccache -s
|
||||
chmod -R ugo+rwx /tmp/KeySetCache
|
||||
@@ -272,7 +272,7 @@ jobs:
|
||||
id: tmpdir-path
|
||||
run: echo "::set-output name=TMPDIR_PATH::`echo $TMPDIR`"
|
||||
|
||||
# We do run test-check as part of the build, as they aren't that costly
|
||||
# We do run run-check-tests as part of the build, as they aren't that costly
|
||||
# and will at least give minimum confidence that the compiler works in PRs
|
||||
- name: Build
|
||||
run: |
|
||||
@@ -280,7 +280,7 @@ jobs:
|
||||
echo "Debug: ccache statistics (prior to the build):"
|
||||
ccache -s
|
||||
export CONCRETE_PROJECT=${{ github.workspace }}/concrete
|
||||
make all test-check
|
||||
make all run-check-tests
|
||||
echo "Debug: ccache statistics (after the build):"
|
||||
ccache -s
|
||||
|
||||
@@ -359,7 +359,7 @@ jobs:
|
||||
pip install pytest
|
||||
rm -rf /build
|
||||
export PYTHONPATH=""
|
||||
make PARALLEL_EXECUTION_ENABLED=ON CCACHE=ON BUILD_DIR=/build test test-dataflow
|
||||
make PARALLEL_EXECUTION_ENABLED=ON CCACHE=ON BUILD_DIR=/build run-tests run-end-to-end-dataflow-tests
|
||||
echo "Debug: ccache statistics (after the build):"
|
||||
ccache -s
|
||||
chmod -R ugo+rwx /tmp/KeySetCache
|
||||
|
||||
2
.github/workflows/llvm-compatibility.yml
vendored
2
.github/workflows/llvm-compatibility.yml
vendored
@@ -39,7 +39,7 @@ jobs:
|
||||
run: |
|
||||
cd /compiler
|
||||
pip install pytest
|
||||
make BUILD_DIR=/build test
|
||||
make BUILD_DIR=/build run-tests
|
||||
|
||||
- name: Update Custom LLVM
|
||||
uses: ad-m/github-push-action@master
|
||||
|
||||
Reference in New Issue
Block a user