From f94af677854546a3e3b6bbba101411eeedc1850d Mon Sep 17 00:00:00 2001 From: tkkkd <> Date: Sun, 12 May 2024 16:23:43 +0900 Subject: [PATCH] add new branch --- .github/workflows/pytest_demo.yaml | 2 +- test_first.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pytest_demo.yaml b/.github/workflows/pytest_demo.yaml index 1fef65d..27b9aa9 100644 --- a/.github/workflows/pytest_demo.yaml +++ b/.github/workflows/pytest_demo.yaml @@ -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 diff --git a/test_first.py b/test_first.py index 4a1d678..0def490 100644 --- a/test_first.py +++ b/test_first.py @@ -3,5 +3,5 @@ def test_add_normal(): assert add(1, 2) == 3 -# def test_add_str(): -# assert add("A", "B") == "AB" \ No newline at end of file +def test_add_str(): + assert add("A", "B") == "AB" \ No newline at end of file