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 }}