From e2f5432c68aaccea53f2af6d58e8d6cc76dde1c0 Mon Sep 17 00:00:00 2001 From: ranjithkumarkv Date: Sun, 2 Feb 2025 19:11:17 +0530 Subject: [PATCH 1/3] Create python.yml --- .github/workflows/python.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/python.yml diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml new file mode 100644 index 0000000000..1448104001 --- /dev/null +++ b/.github/workflows/python.yml @@ -0,0 +1,34 @@ +name: Setup Python + +on: + push: + workflow_dispatch: + +jobs: + echo-python-setup: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4.2.2 + + - name: Setup Python + uses: actions/setup-python@v4.6.0 + with: + python-version: '3.9' + + - name: Install Dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + + - name: Run Tests + run: python -m unittest discover + + - name: Create Staging Directory + run: mkdir staging && cp -r src/* staging + + - name: Upload a Build Artifact + uses: actions/upload-artifact@v4.6.0 + with: + name: Package_Python + path: staging From db178416a315f2ab98a52553f6d15263858ef078 Mon Sep 17 00:00:00 2001 From: ranjithkumarkv Date: Sun, 2 Feb 2025 19:19:13 +0530 Subject: [PATCH 2/3] Create python2.yml --- .github/workflows/python2.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/python2.yml diff --git a/.github/workflows/python2.yml b/.github/workflows/python2.yml new file mode 100644 index 0000000000..1ea3e404c5 --- /dev/null +++ b/.github/workflows/python2.yml @@ -0,0 +1,34 @@ +name: Setup Python + +on: + push: + workflow_dispatch: + +jobs: + echo-python-setup: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4.2.2 + + - name: Setup Python + uses: actions/setup-python@v4.6.0 + with: + python-version: '3.9' + + - name: Install Dependencies + run: | + python -m pip install --upgrade pip + if [ -f requirements.txt ]; then pip install -r requirements.txt; else echo "No requirements.txt found, skipping dependency installation"; fi + + - name: Run Tests + run: python -m unittest discover + + - name: Create Staging Directory + run: mkdir staging && cp -r src/* staging + + - name: Upload a Build Artifact + uses: actions/upload-artifact@v4.6.0 + with: + name: Package_Python + path: staging From ca19a83e19fe14d013d65f7d9afd5578fdfb8b99 Mon Sep 17 00:00:00 2001 From: ranjithkumarkv Date: Sun, 2 Feb 2025 19:23:57 +0530 Subject: [PATCH 3/3] Create python7.yml --- .github/workflows/python7.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/python7.yml diff --git a/.github/workflows/python7.yml b/.github/workflows/python7.yml new file mode 100644 index 0000000000..1d38b08986 --- /dev/null +++ b/.github/workflows/python7.yml @@ -0,0 +1,34 @@ +name: Setup1 Python + +on: + push: + workflow_dispatch: + +jobs: + echo-python-setup: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4.2.2 + + - name: Setup Python + uses: actions/setup-python@v4.6.0 + with: + python-version: '3.9' + + - name: Install Dependencies + run: | + python -m pip install --upgrade pip + if [ -f requirements.txt ]; then pip install -r requirements.txt; else echo "No requirements.txt found, skipping dependency installation"; fi + + - name: Run Tests + run: python -m unittest discover + + - name: Create Staging Directory + run: mkdir staging && cp -r src/* staging + + - name: Upload a Build Artifact + uses: actions/upload-artifact@v4.6.0 + with: + name: Package_Python + path: staging

AltStyle によって変換されたページ (->オリジナル) /