-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from recast-hep/CONTRIBUTING
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Contributing to the RECAST CLI | ||
|
||
`recast` is meant to be a convenience tool for analysts within collaboration. We welcome contributions | ||
from the community to improve the user experience. | ||
|
||
|
||
## Running unit tests | ||
|
||
We use `pytest` as a unit testing framework | ||
|
||
``` | ||
pytest tests | ||
``` | ||
|
||
## Smoke Testing the `local` backend | ||
|
||
``` | ||
recast run testing/busyboxtest --backend docker | ||
``` | ||
|
||
## Smoke Testing the `docker` backend | ||
|
||
``` | ||
docker build -f docker/Dockerfile -t recastestimg . | ||
RECAST_DOCKER_IMAGE=recastestimg recast run testing/busyboxtest --backend docker | ||
``` | ||
|