Skip to content
Open
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/pytest_demo.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: pytest Demo
run-name: ${{ github.actor }} is testing out by pytest 🚀
on: [push, workflow_dispatch]
on: [pull_request, workflow_dispatch]
jobs:
Pytest-CICD-demo:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions test_first.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
def test_add_normal():
assert add(1, 2) == 3

# def test_add_str():
# assert add("A", "B") == "AB"
def test_add_str():
assert add("A", "B") == "AB"