From 8964b8a407119cf0ba6814e2324889bdc58ec9fb Mon Sep 17 00:00:00 2001 From: Spencer Murray Date: Tue, 17 Sep 2024 14:59:34 -0400 Subject: [PATCH] Fix pytest coverage command --- .../CoverageOnboarding/GitHubActions/GitHubActions.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/RepoPage/CoverageOnboarding/GitHubActions/GitHubActions.tsx b/src/pages/RepoPage/CoverageOnboarding/GitHubActions/GitHubActions.tsx index 651cb5f4a5..a516270664 100644 --- a/src/pages/RepoPage/CoverageOnboarding/GitHubActions/GitHubActions.tsx +++ b/src/pages/RepoPage/CoverageOnboarding/GitHubActions/GitHubActions.tsx @@ -136,7 +136,7 @@ jobs: }, Pytest: { install: 'pip install pytest pytest-cov', - run: 'pytest --cov', + run: 'pytest --cov --cov-report=xml', workflow: `name: Run tests and upload coverage on: @@ -159,7 +159,7 @@ jobs: run: pip install pytest pytest-cov - name: Run tests - run: pytest --cov + run: pytest --cov --cov-report=xml - name: Upload results to Codecov uses: codecov/codecov-action@v4