version: 2 
jobs:
    build:
        docker:
            - image: circleci/python:3
        steps:
            - checkout
            - restore_cache:
                key: dedupe_trees-{{ checksum "testing-requirements.txt" }}
            - run:
                name: Prepare Environment
                command: |
                    python3 -m venv venv
                    . venv/bin/activate
                    pip install -r testing-requirements.txt
            - save_cache:
                key: dedupe_trees-{{ checksum "testing-requirements.txt" }}
                paths:
                    - "venv"
            - run:
                name: Run Tests
                command: |
                    . venv/bin/activate
                    mkdir -p test-reports
                    pytest --junitxml=test-reports/junit.xml --cov-config .coveragerc --cov=dedupe_trees --cov=bin.dedupe_trees
                    codecov
            - store_test_results:
                path: test-reports

version: 2 
jobs:
    build:
        docker:
            - image: circleci/python:3
        steps:
            - checkout
            - restore_cache:
                key: dedupe_trees-{{ checksum "testing-requirements.txt" }}
            - run:
                name: Prepare Environment
                command: |
                    python3 -m venv venv
                    . venv/bin/activate
                    pip install -r testing-requirements.txt
            - save_cache:
                key: dedupe_trees-{{ checksum "testing-requirements.txt" }}
                paths:
                    - "venv"
            - run:
                name: Run Tests
                command: |
                    . venv/bin/activate
                    mkdir -p test-reports
                    pytest --junitxml=test-reports/junit.xml --cov-config .coveragerc --cov=dedupe_trees
                    codecov
            - store_test_results:
                path: test-reports

Remove old module name from pytest
Remove old module name from pytest
