Skip to content

Commit

Permalink
Fix outdated test commands.
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicahearn committed Oct 22, 2024
1 parent 2d415ff commit 29ef8b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
chmod +x ./cc-test-reporter
./cc-test-reporter before-build
- name: Run tests
run: coverage run ./setup.py test && coverage xml -i --include='chartmogul/*'
run: coverage run -m unittest && coverage xml -i --include='chartmogul/*'
- name: Send Report to Code Climate
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ To work on the library:
* Write tests for your new features. Use `requests_mock` for HTTP mocking.
* To run test install requirement-test `pip3 install -r requirements-test.txt` and run with `python -m unittest`:
* `pip3 install coverage`
* `coverage run ./setup.py test`
* `coverage run -m unittest`
* `coverage html --include='chartmogul/*'`
* Find results in `htmlcov/index.html`
* If all tests are passed, push to the branch (`git push origin my-new-feature`)
Expand Down

0 comments on commit 29ef8b0

Please sign in to comment.