Skip to content

Commit

Permalink
Port over coverge runner
Browse files Browse the repository at this point in the history
  • Loading branch information
gunthercox committed Jan 4, 2025
1 parent 73ee13b commit ff526f1
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 nose
python -m pip install flake8 nose coverage
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f dev-requirements.txt ]; then pip install -r dev-requirements.txt; fi
python -m spacy link en_core_web_sm en
Expand All @@ -44,9 +44,20 @@ jobs:
- name: Test documentation build
run: |
sphinx-build -nW -b html ./docs/ /tmp/build/
- name: Start MongoDB
uses: supercharge/[email protected]
with:
mongodb-version: '8.0'
- name: Run tests
run: |
nosetests
# https://github.com/marketplace/actions/coveralls-github-action
- name: Coveralls GitHub Action
uses: coverallsapp/[email protected]
- name: Generate code coverage
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: 3ec30a156224df0f59620967241d9659086e918fd824f4f69b8ce7b55b5a590f
with:
coverageCommand: coverage
debug: true

0 comments on commit ff526f1

Please sign in to comment.