What I tried:placing 'pip install --user -r requirements.txt' in the second run commandplacing 'pip install pytest' in the second run command along with 'pip install pytest-html'
both followed by,pytest --html=pytest_report.html
I am new to CircleCI and using pytest as wellHere is the steps portion of the config.yml file
version: 2.1jobs: run_tests: docker: - image: circleci/python:3.9.1 steps: - checkout - run: name: Install Python Dependencies command: echo 'export PATH=~$PATH:~/.local/bin'>> $BASH_ENV && source $BASH_ENV pip install --user -r requirements.txt - run: name: Run Unit Tests command: pip install --user -r requirements.txt pytest --html=pytest_report.html - store_test_results: path: test-reports - store_artifacts: path: test-reportsworkflows: build_test: jobs: - run_tests