Skip to content

Commit

Permalink
chore: local testing without Docker
Browse files Browse the repository at this point in the history
- [x] update README on how to test locally without Docker
- [x] add requirements-test.txt to include the required packages for
local testing and linting

Signed-off-by: jmeridth <[email protected]>
  • Loading branch information
jmeridth committed Feb 28, 2024
1 parent a67bb76 commit 1f05fad
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,13 @@ jobs:
1. `pip install -r requirements.txt`
1. Run `python3 ./stale_repos.py`, which will output a list of repositories and the length of their inactivity

## Local testing without Docker

1. Have Python v3.9 or greater installed
1. `pip install -r requirements.txt -r requirements-test.txt`
1. `make lint`
1. `make test`

## License

[MIT](LICENSE)
Expand Down
4 changes: 4 additions & 0 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
flake8==7.0.0
pylint==3.1.0
pytest==8.0.2
pytest-cov==4.1.0

0 comments on commit 1f05fad

Please sign in to comment.