From 285e2909d50e37bb2a744552fa1f2f144bea0aa8 Mon Sep 17 00:00:00 2001 From: suecharo Date: Fri, 12 Jul 2024 16:49:47 +0900 Subject: [PATCH] insert print sentence --- .github/workflows/pytest.yml | 13 ++++++++++--- sapporo/run.sh | 18 ++++++++++++++++++ 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 632582d..95a421c 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -36,10 +36,17 @@ jobs: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }} - - name: Install Python Dependencies + - name: echo pip list run: | - python3 -m pip install --progress-bar off -U pip - python3 -m pip install --progress-bar off -U .[tests] + python3 -m pip list + + - name: env + run: | + env + + - name: Run mod + run: | + python3 -c "from sapporo.dump_outputs_list import dump_outputs_list; print(id(dump_outputs_list))" - name: Run pytest run: | diff --git a/sapporo/run.sh b/sapporo/run.sh index b9edc1f..a19a710 100644 --- a/sapporo/run.sh +++ b/sapporo/run.sh @@ -16,6 +16,24 @@ function run_wf() { executor_error fi + echo "In run.sh" + + echo "=== env ========" + + env + + echo "=== pip list ========" + + python3 -m pip list + + echo "=== which ========" + + which python3 + + echo "=== exec module ========" + + python3 -c "from sapporo.run import dump_outputs_list; print(id(dump_outputs_list))" + upload date -u +"%Y-%m-%dT%H:%M:%S" >${end_time} echo 0 >${exit_code}