From 940f16e52928039b2e9bd50ded6e1c411b0ce42e Mon Sep 17 00:00:00 2001 From: Kay Robbins <1189050+VisLab@users.noreply.github.com> Date: Fri, 27 Sep 2024 05:57:11 -0500 Subject: [PATCH] Updated spec_tests path --- .github/workflows/ci.yaml | 17 ++++++++--------- .github/workflows/ci_cov.yaml | 10 +++++----- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ff12d3d3..b169b8f0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -55,18 +55,17 @@ jobs: pip install -r requirements.txt pip install -r docs/requirements.txt - # Run unittest without coverage - - name: Test with unittest - env: - HED_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - continue-on-error: true - run: | - python -m unittest discover tests - # Run spec tests without coverage for non Python 3.9 - name: Run spec_test env: HED_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} continue-on-error: true run: | - python -m unittest discover tests/spec_tests + python -m unittest discover spec_tests + + # Run unittest without coverage + - name: Test with unittest + env: + HED_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + python -m unittest discover tests diff --git a/.github/workflows/ci_cov.yaml b/.github/workflows/ci_cov.yaml index acf97ebd..2d6f6644 100644 --- a/.github/workflows/ci_cov.yaml +++ b/.github/workflows/ci_cov.yaml @@ -69,21 +69,21 @@ jobs: HED_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} continue-on-error: true run: | - coverage run -m unittest discover tests + coverage run -m unittest discover tests # Run spec tests with coverage - name: Run spec_test coverage env: HED_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - continue-on-error: true run: | - coverage run --append -m unittest discover tests/spec_tests + coverage run --append -m unittest discover spec_tests + ls -la - + # Publish the coverages - name: publish-coverages with: coverageCommand: coverage xml - debug: true + debug: false uses: paambaati/codeclimate-action@v9.0.0 env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}