-
Notifications
You must be signed in to change notification settings - Fork 28
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 smoketests for all the tools/proofers/*.php pages. #1162
Conversation
@@ -575,7 +609,7 @@ def main() -> int: | |||
if args.verbose: | |||
print(data.decode()) | |||
if status not in expect_status or test_failed(logs): | |||
print(f'Status: {status}') | |||
print(f'Status: {status} (expected {epected_status})') |
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.
print(f'Status: {status} (expected {epected_status})') | |
print(f'Status: {status} (expected {expect_status})') |
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.
Time to get that linter :)
.github/workflows/ci.yml
Outdated
@@ -120,6 +120,12 @@ jobs: | |||
- name: Add smoketest DB entries | |||
run: | | |||
mysql -uroot -proot < SETUP/smoketests/test_tables.sql | |||
- name: Create smoketest project dirs | |||
run: | | |||
mkdir -p $HOME/projects/projectID5e23a810ef693 |
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.
Should we put this inside a "smoketest_prep.sh" script and call it here rather than put the logic in the CI itself?
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.
Done.
8065d70
to
f5d464f
Compare
Add a placeholder project directory to allow some tests to work and re-enable some other pages that also require a project dir.
Add a placeholder project directory to allow some tests to work and re-enable some other pages that also require a project dir.