-
Notifications
You must be signed in to change notification settings - Fork 170
Description
Use case
What are you trying to accomplish? Sometimes there may already be a way to do what you need.
We have a pytools directory, with each tool with it's own directory.
Run the tests for each tool on pull requests that change pytools.
There are other bits and bobs of python in the repo, e.g.
models/wrf_hydro/python/perturb/test_perturb.py
which would get run if we test the top level of DART, so at least to start only pytest pytools.
Is your feature request related to a problem?
Automating tests on pull requests for jests in the quest for success
Describe your preferred solution
github action that runs pytest
Also, documentation for the python tools, currently only pyjedi is documented, but users would
probably find the qceff pretty printer and the fortran find unused routines tool helpful.
Describe any alternatives you have considered
local testing. Also needs pyjedi tests. I have small files, might be better with unit tests for functions instead for the github action.