Tests#

To test locally, set up a virtual environment as shown here. After that, install Pymech along with test dependencies and run the tests:

pip install -e '.[tests]'
pytest -s -v

The directory tests/data is a git submodule repository (https://github.com/eX-Mech/pymech-test-data.git), which houses all the data files required to run the test suite.

Continuous Integration#

Tests are run automatically at every push and pull request to the repository.

The tests are run on GitHub for Python versions between 3.9 and up.

The code coverage is also logged at Coveralls.