Repository: tkscode/pyNormalizeNumExp (language: python)

Issue:
Hotfix GitHub actions



Discussion / hints:

Fix patch:
diff --git a/README.md b/README.md
index 4c7612b..834208a 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
 [![PyPI version](https://badge.fury.io/py/pynormalizenumexp.svg)](https://badge.fury.io/py/pynormalizenumexp)
 [![Python Versions](https://img.shields.io/pypi/pyversions/pynormalizenumexp.svg)](https://pypi.org/project/pynormalizenumexp/)
 [![pytest](https://github.com/tkscode/pyNormalizeNumExp/actions/workflows/pytest.yml/badge.svg?branch=main)](https://github.com/tkscode/pyNormalizeNumExp/actions/workflows/pytest.yml)
-[![codecov](https://codecov.io/gh/tkscode/pyNormalizeNumExp/branch/main/graph/badge.svg?token=3Z0YIZV5U1)](https://codecov.io/gh/tkscode/pyNormalizeNumExp)
+[![codecov](https://codecov.io/gh/tkscode/pyNormalizeNumExp/graph/badge.svg?token=3Z0YIZV5U1)](https://codecov.io/gh/tkscode/pyNormalizeNumExp)
 
 
 # pyNormalizeNumexp
diff --git a/pyproject.toml b/pyproject.toml
index ca852d9..ae87edf 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
 [tool.poetry]
 name = "pynormalizenumexp"
-version = "0.3.0"
+version = "0.3.1"
 description = "NormalizeNumExp for Python"
 authors = ["tkscode"]
 license = "BSD 3-Clause"


Test patch:
diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml
index ce0bf90..de5417e 100644
--- a/.github/workflows/pytest.yml
+++ b/.github/workflows/pytest.yml
@@ -1,4 +1,4 @@
-name: test
+name: PyTest in develop
 
 on:
   pull_request:
@@ -36,12 +36,3 @@ jobs:
       # pytestを実行する
       - name: Run Tests
         run: poetry run pytest
-
-      # Codecovへアップロード
-      - name: Upload coverage to Codecov
-        uses: codecov/codecov-action@v4
-        with:
-          file: ./coverage.xml
-          name: codecov-umbrella
-          fail_ci_if_error: true
-          token: ${{ secrets.CODECOV_TOKEN }}
diff --git a/.github/workflows/upload_python_package_test.yml b/.github/workflows/upload_python_package_test.yml
index 5b9acb8..59d45ce 100644
--- a/.github/workflows/upload_python_package_test.yml
+++ b/.github/workflows/upload_python_package_test.yml
@@ -1,4 +1,4 @@
-name: Upload Python Package to TestPyPI
+name: PyTest and upload Python Package to TestPyPI
 
 on:
   push:
@@ -27,6 +27,23 @@ jobs:
         run: |
           pip install poetry
 
+      # Poetryを使って必要なPythonパッケージをインストールする
+      - name: Install Dependencies
+        run: poetry install --with test --no-interaction
+
+      # pytestを実行する
+      - name: Run Tests
+        run: poetry run pytest
+
+      # Codecovへアップロード
+      - name: Upload coverage to Codecov
+        uses: codecov/codecov-action@v4
+        with:
+          file: ./coverage.xml
+          name: codecov-umbrella
+          fail_ci_if_error: true
+          token: ${{ secrets.CODECOV_TOKEN }}
+
       # パッケージのビルドとTestPyPIへのアップロード
       - name: Build and publish
         env: