Skip to content
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

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Earthly Lunar Page #869

wants to merge 8 commits into from

Conversation

avinder-red-crackle
Copy link
Collaborator

No description provided.

@avinder-red-crackle
Copy link
Collaborator Author


<a
class="bg-[#2d7e5d] inline-block mt-9 py-4 rounded-lg text-2xl text-center text-white"
href="https://earthly.dev/contact-us"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
href="https://earthly.dev/contact-us"
href="/contact-us"

@avinder-red-crackle
Copy link
Collaborator Author

@avinder-red-crackle avinder-red-crackle marked this pull request as ready for review December 25, 2024 06:46
@avinder-red-crackle
Copy link
Collaborator Author


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)'
Copy link
Member

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

Suggested change
'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.*'
Copy link
Member

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

Suggested change
'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.*'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants