Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/JWock82/PyNite
Browse files Browse the repository at this point in the history
  • Loading branch information
JWock82 authored and JWock82 committed Jan 27, 2025
2 parents 8622af4 + ea800fb commit c55013d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ jobs:
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with unittest
- name: Test with pytest
run: |
xvfb-run -a coverage run --source=PyNite -m unittest discover
xvfb-run -a coverage run --source=PyNite -m pytest
- name: Convert coverage to XML
run: |
Expand Down
8 changes: 8 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,11 @@ If you would like to contribute to PyNite, please review the following guideline
5. Provide all pieces necessary in your pull request.
6. Follow the coding guidelines above. This will make review go much faster.
7. Pull requests for any active repository `Projects` will usually be given first priorty.

## Testing

Run tests using `pytest`.

```bash
pytest
```
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ matplotlib
# Required for jupyter interaction
trame_jupyter_extension
ipywidgets

# Development
pytest

0 comments on commit c55013d

Please sign in to comment.