Skip to content

Commit

Permalink
ENG-3777: Run Python notebooks in SDK Circle-CI
Browse files Browse the repository at this point in the history
  • Loading branch information
JMkrish committed Dec 11, 2023
1 parent f80e915 commit a919ca1
Show file tree
Hide file tree
Showing 7 changed files with 284 additions and 2,578 deletions.
9 changes: 2 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ jobs:
## ------------------ Run Unit Tests ------------------

run-unit-tests:
# Use VM over docker container
machine:
# # https://circleci.com/docs/2.0/configuration-reference/#available-machine-images
# image: ubuntu-2204:2022.07.1
docker:
- image: cimg/python:3.11.0
steps:
Expand All @@ -51,8 +47,6 @@ jobs:
- disable_docker_hub
- attach_workspace:
at: /tmp/workspace

# - configure_environment
- checkout
- python/install-packages:
pkg-manager: pip
Expand All @@ -61,8 +55,9 @@ jobs:
command: |
set -x
pip install -r requirements-codecoverage.txt
# pip install -e .
mkdir test-results
coverage run -m pytest --junitxml=test-results/junit.xml tests
coverage run -m pytest --nbmake --nbmake-timeout=300 -n=auto --junitxml=test-results/junit.xml tests examples
- run:
name: Compile Coverage Report
command: |
Expand Down
Loading

0 comments on commit a919ca1

Please sign in to comment.