-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add testing #447
Add testing #447
Conversation
bri25yu
commented
Apr 6, 2022
•
edited
Loading
edited
- Add code coverage using coverage.py
- Add Github actions to run python tests and check formatting
- Add MakeFile command to format code
- Fixing some LGTM alerts
- Testing fixes
- event test slug error
- test_tabular missing event type
- test rsvp and unrsvp redirection tests
- confirm rsvp not post 403
- allow_public_access login required bug
- academics api permissions test
- test_confirm status code
- Misc improvements/fixes
- ordering academics api querysets
- fixing course surveys index login error
- fixing accesslevelrequired return None bug
- improving resume review logic
- dept tours slight cleanup, email sending, improving tours html
- merging reviewsessions with events
- improving candidatedto email domain logic
- removing account activate
- Tests added
- resume review
- dept tours
- reviewsessions
- studentservices models
- cand: misc, checkoffs, mass add cands
- tutoring views
- users views
- google calendar utils
This pull request introduces 2 alerts and fixes 10 when merging 949fc1a into 65e0004 - view on LGTM.com new alerts:
fixed alerts:
|
This pull request introduces 2 alerts and fixes 10 when merging 9acf732 into 65e0004 - view on LGTM.com new alerts:
fixed alerts:
|
This pull request introduces 3 alerts and fixes 17 when merging 10fa688 into 65e0004 - view on LGTM.com new alerts:
fixed alerts:
|
|
||
.PHONY: format | ||
format: | ||
python -m black . --exclude "/(.*migrations|\.venv)/" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use $(PYTHON)
instead of "python"
pip install -r requirements-dev.txt | ||
- name: Running black formatter check | ||
run: | | ||
python -m black . --check --exclude "/(.*migrations|\.venv)/" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Recommendation: Add the --diff
flag to see what needs to be changed (just like back in CS 61B style checking)
python -m black . --check --diff --exclude "/(.*migrations|\.venv)/"