From d7195234e789fa27e162952c37dd1f487688aa2c Mon Sep 17 00:00:00 2001 From: Landung 'Don' Setiawan Date: Mon, 27 Nov 2023 12:49:20 -0800 Subject: [PATCH] fix: change pytest to point to tests/ --- .github/workflows/coverage.yaml | 2 +- .github/workflows/python-app.yml | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index 13c8bd44..335d2ffc 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -50,7 +50,7 @@ jobs: run: | cd $GITHUB_WORKSPACE pwd - pytest --cov-report=xml --cov=caustics test/ + pytest --cov-report=xml --cov=caustics tests/ cat coverage.xml shell: bash - name: Upload coverage report to Codecov diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index ff39183c..3074f981 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -58,11 +58,5 @@ jobs: - name: Test with pytest run: | cd $GITHUB_WORKSPACE - pytest test - shell: bash - - - name: Test with pytest - run: | - cd $GITHUB_WORKSPACE - pytest test + pytest -vvv tests/ shell: bash