From a5c1ba7acd2ca3ead767ca7b96ce4ba5cdeb7e20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Wed, 26 May 2021 17:58:04 +0200 Subject: [PATCH] forgot about bools, v1.7 --- .circleci/config.yml | 16 ++++++++-------- setup.py | 1 + 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 433e1c4..e6d7530 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,8 +9,8 @@ orbs: workflows: sample: # This is the name of the workflow, feel free to change it to better match your workflow. - # Inside the workflow, you define the jobs you want to run. - # For more details on extending your workflow, see the configuration docs: https://circleci.com/docs/2.0/configuration-reference/#workflows + # Inside the workflow, you define the jobs you want to run. + # For more details on extending your workflow, see the configuration docs: https://circleci.com/docs/2.0/configuration-reference/#workflows jobs: - build-and-test @@ -35,10 +35,10 @@ jobs: pkg-manager: pip # app-dir: ~/project/package-directory/ # If you're requirements.txt isn't in the root directory. # pip-dependency-file: requirements.txt # if you have a different name for your requirements file, maybe one that combines your runtime and test requirements. - - run: - name: Run tests + - install: + name: Install the software # This assumes pytest is installed via the install-package step above - command: > - python setup.py install - rm -rf minijson - pytest + command: DEBUG=1 python setup.py install && rm -rf minijson + - test: + name: Test the software + command: pytest diff --git a/setup.py b/setup.py index e3b1326..5b83bb5 100644 --- a/setup.py +++ b/setup.py @@ -12,6 +12,7 @@ if 'DEBUG' in os.environ: dont_snakehouse = True build_kwargs.update(gdb_debug=True) directives['embedsignature'] = True + directives['linetrace'] = True setup(version='1.7', -- GitLab