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