Skip to content
Open

test #13

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/readme-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: pytest test_src

- name: embedding readme
uses: tokusumi/markdown-embed-code@v1.0.0
uses: tomasz-kapela/readme-code-testing@main
with:
markdown: "README.md"
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@ This action could inspect your code, if you add a file path in code block as "\`
The following code block has a file path `src/helloworld.py`:

```python:src/helloworld.py
def hello():
return "v1.0.0 world"

```


See [src/helloworld.py](./src/helloworld.py) as:

Expand Down Expand Up @@ -93,3 +91,5 @@ echo "hello"
## Formatting

Notice that this action uses markdown parser/formatter, so, if you don't update any code, readme may be updated if formatter works.

test
5 changes: 5 additions & 0 deletions src/helloworld.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
def hello():
return "v1.0.0 world"

def test():
a=2
return 1.0