Skip to content

Commit 55dc6de

Browse files
QDK/Chemistry v1.0.0 (#327)
1 parent a19a41b commit 55dc6de

60 files changed

Lines changed: 683 additions & 2445 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build-and-test.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,9 @@ jobs:
268268
python -m pip install --prefix=${{ github.workspace }}/install -C build-dir="build/{wheel_tag}" .[all]
269269
python3 -c "import qdk_chemistry; print('qdk_chemistry version:', qdk_chemistry.__version__)"
270270
# Install optional dependencies for tests
271-
python -m pip install --prefix=${{ github.workspace }}/install pennylane
271+
python -m pip install --prefix=${{ github.workspace }}/install pennylane ipykernel
272+
# Register the Jupyter kernel for notebook tests
273+
python -m ipykernel install --user --name python3 --display-name "Python 3"
272274
273275
- name: Run Python tests
274276
env:
@@ -283,6 +285,7 @@ jobs:
283285
echo "Found build directory: $BUILD_TEMP"
284286
285287
set +e
288+
set -o pipefail
286289
pytest \
287290
--cov=qdk_chemistry \
288291
--cov-report=xml:../coverage-reports/python_coverage.xml \
@@ -293,7 +296,7 @@ jobs:
293296
--tb=short \
294297
2>&1 | tee ../coverage-reports/python_coverage.txt
295298
296-
PYTEST_EXIT_CODE=$?
299+
PYTEST_EXIT_CODE=${PIPESTATUS[0]}
297300
set -e
298301
299302
echo "=== Python Test Output ==="

.pipelines/base.Dockerfile

Lines changed: 0 additions & 214 deletions
This file was deleted.

.pipelines/devcontainer.Dockerfile

Lines changed: 0 additions & 101 deletions
This file was deleted.

0 commit comments

Comments
 (0)