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

Development #2

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
7 changes: 7 additions & 0 deletions .github/workflows/main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: Test repo code
on: [pull_request]
jobs:
test-our-code:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 Our code works flawelessly."
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ def fetch_random_dad_joke() -> str:
return urlopen(req).read().decode("utf-8")

print(fetch_random_dad_joke())
```
```

Authored by Jules Huisman
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

def fetch_random_dad_joke() -> str:
"""
This is another docstring, made in master.
Fetch a random dad joke.
"""
req = Request(
url="https://icanhazdadjoke.com/",
Expand Down