Skip to content

Errors during Build coverage file #83

@akzaidi

Description

@akzaidi

Thanks for the workflow template! It is exactly what I was looking for.

Unfortunately, I'm hitting the following error when getting to the Build coverage file:

  python -m pytest --cov='.' tests > pytest-coverage.txt
  shell: /usr/bin/bash -e {0}
  env:
    pythonLocation: /opt/hostedtoolcache/Python/3.8.8/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.8.8/x64/lib
Error: Process completed with exit code 2.

The repository I'm trying to add this workflow to is here.

Any idea what I'm doing wrong? I tried with and without the python -m. My tests are in the tests folder and all the source code is in the top-directory. The tests run fine locally on my machine, but not within the workflow scripts.

Any help would be appreciated. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions