Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub Actions fails to run pytest tests #4729

Closed
vashirov opened this issue Apr 20, 2021 · 0 comments · Fixed by #4730
Closed

GitHub Actions fails to run pytest tests #4729

vashirov opened this issue Apr 20, 2021 · 0 comments · Fixed by #4730
Labels
needs triage The issue will be triaged during scrum

Comments

@vashirov
Copy link
Member

Issue Description
Recent PRs no longer execute pytest tests. Looking at the logs:

Run echo "::set-output name=matrix::$(python .github/scripts/generate_matrix.py)"
/__w/_temp/f2331cae-c7d3-4f07-a71b-afdb1c74d06e.sh: line 1: python: command not found

This causes build.outputs.matrix be an empty string. And eventually it fails with

Test : .github#L1
Error when evaluating 'strategy' for job 'test'. (Line: 39, Col: 15): Error reading JToken from JsonReader. Path '', line 0, position 0.,(Line: 39, Col: 15): Unexpected value ''

Probably python was switched to python3 in ubuntu-20.04.

I'll file a PR to fix it.

@vashirov vashirov added the needs triage The issue will be triaged during scrum label Apr 20, 2021
vashirov added a commit that referenced this issue Apr 20, 2021
Description:
Update python interpreter

Fixes: #4729

Reviewed by: @droideck (Thanks!)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage The issue will be triaged during scrum
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant