Skip to content

Commit

Permalink
Updated spec_tests path
Browse files Browse the repository at this point in the history
  • Loading branch information
VisLab committed Sep 27, 2024
1 parent d5475c9 commit 940f16e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
10 changes: 5 additions & 5 deletions .github/workflows/ci_cov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
Expand Down

0 comments on commit 940f16e

Please sign in to comment.