-
Notifications
You must be signed in to change notification settings - Fork 8
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
Earthly Lunar Page #869
base: main
Are you sure you want to change the base?
Earthly Lunar Page #869
Conversation
website/_includes/lunar/hero.html
Outdated
|
||
<a | ||
class="bg-[#2d7e5d] inline-block mt-9 py-4 rounded-lg text-2xl text-center text-white" | ||
href="https://earthly.dev/contact-us" |
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.
href="https://earthly.dev/contact-us" | |
href="/contact-us" |
|
||
document.getElementById('code-policies').addEventListener('copy', e => { | ||
const text = | ||
'policies:\n- name: "Should have unit tests"\n runPython: |-\n import lunar\n hasTests = lunar.get(“hasTests”)\n lunar.assertTrue(hasTests)' |
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 correct double quotes and fix YAML indentation
'policies:\n- name: "Should have unit tests"\n runPython: |-\n import lunar\n hasTests = lunar.get(“hasTests”)\n lunar.assertTrue(hasTests)' | |
'policies:\n - name: "Should have unit tests"\n | |
runPython: |-\n import lunar\n hasTests = lunar.get("hasTests")\n lunar.assertTrue(hasTests)' |
|
||
document.getElementById('code-collectors').addEventListener('copy', e => { | ||
const text = | ||
'collectors:\n- runBash: lunar collect “hasTests” true\n hook:\n type: before-command\n patterns:\n - ^go test.*\n - ^npm test.*\n - ^python -m .unittest.*' |
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 correct double quotes and fix YAML indentation
'collectors:\n- runBash: lunar collect “hasTests” true\n hook:\n type: before-command\n patterns:\n - ^go test.*\n - ^npm test.*\n - ^python -m .unittest.*' | |
'collectors:\n - runBash: lunar collect "hasTests" true\n hook:\n type: before-command\n patterns:\n - ^go test.*\n - ^npm test.*\n | |
- ^python -m .unittest.*' |
No description provided.