Skip to content

Commit b7c41a2

Browse files
committed
build: show action environment variables for debugging
1 parent f8be865 commit b7c41a2

File tree

4 files changed

+33
-4
lines changed

4 files changed

+33
-4
lines changed

.github/workflows/coverage.yml

+19-1
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,13 @@ jobs:
8080
#cache: pip
8181
#cache-dependency-path: 'requirements/*.pip'
8282

83+
- name: "Show environment"
84+
run: |
85+
set -xe
86+
python -VV
87+
python -m site
88+
env
89+
8390
- name: "Install dependencies"
8491
run: |
8592
echo matrix id: $MATRIX_ID
@@ -132,11 +139,16 @@ jobs:
132139
#cache: pip
133140
#cache-dependency-path: 'requirements/*.pip'
134141

135-
- name: "Install dependencies"
142+
- name: "Show environment"
136143
run: |
137144
set -xe
138145
python -VV
139146
python -m site
147+
env
148+
149+
- name: "Install dependencies"
150+
run: |
151+
set -xe
140152
python -m pip install -e .
141153
python igor.py zip_mods
142154
@@ -171,10 +183,16 @@ jobs:
171183
runs-on: ubuntu-latest
172184

173185
steps:
186+
- name: "Show environment"
187+
run: |
188+
set -xe
189+
env
190+
174191
- name: "Compute info for later steps"
175192
id: info
176193
run: |
177194
set -xe
195+
env
178196
export SHA10=$(echo ${{ github.sha }} | cut -c 1-10)
179197
export SLUG=$(date +'%Y%m%d')_$SHA10
180198
export REPORT_DIR=reports/$SLUG/htmlcov

.github/workflows/python-nightly.yml

+1
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ jobs:
7979
python -m site
8080
python -m coverage debug sys
8181
python -m coverage debug pybehave
82+
env
8283
8384
- name: "Install dependencies"
8485
run: |

.github/workflows/quality.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,16 @@ jobs:
9292
cache: pip
9393
cache-dependency-path: 'requirements/*.pip'
9494

95-
- name: "Install dependencies"
95+
- name: "Show environment"
9696
run: |
9797
set -xe
9898
python -VV
9999
python -m site
100+
env
101+
102+
- name: "Install dependencies"
103+
run: |
104+
set -xe
100105
python -m pip install -r requirements/tox.pip
101106
102107
- name: "Tox doc"

.github/workflows/testsuite.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,19 @@ jobs:
7979
#cache: pip
8080
#cache-dependency-path: 'requirements/*.pip'
8181

82-
- name: "Install dependencies"
82+
- name: "Show environment"
8383
run: |
8484
set -xe
8585
python -VV
8686
python -m site
87-
python -m pip install -r requirements/tox.pip
8887
# For extreme debugging:
8988
# python -c "import urllib.request as r; exec(r.urlopen('https://bit.ly/pydoctor').read())"
89+
env
90+
91+
- name: "Install dependencies"
92+
run: |
93+
set -xe
94+
python -m pip install -r requirements/tox.pip
9095
9196
- name: "Run tox for ${{ matrix.python-version }}"
9297
run: |

0 commit comments

Comments
 (0)