From ad07ecb0151e64f3fa774099d8c69232df6bda23 Mon Sep 17 00:00:00 2001 From: Eliah Kagan Date: Wed, 22 Nov 2023 11:00:54 -0500 Subject: [PATCH] Show PATH on CI Along with the version and platform information that is already shown. This is to make debugging easier. --- .github/workflows/cygwin-test.yml | 1 + .github/workflows/pythonpackage.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/cygwin-test.yml b/.github/workflows/cygwin-test.yml index 96728e51a..36329f93f 100644 --- a/.github/workflows/cygwin-test.yml +++ b/.github/workflows/cygwin-test.yml @@ -73,6 +73,7 @@ jobs: python -c 'import sys; print(sys.platform)' python -c 'import os; print(os.name)' python -c 'import git; print(git.compat.is_win)' # NOTE: Deprecated. Use os.name directly. + printenv PATH | tr ':' '\n' - name: Test with pytest run: | diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 95b12004c..890681b7d 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -65,6 +65,7 @@ jobs: python -c 'import sys; print(sys.platform)' python -c 'import os; print(os.name)' python -c 'import git; print(git.compat.is_win)' # NOTE: Deprecated. Use os.name directly. + printenv PATH | tr ':' '\n' - name: Check types with mypy run: |