Skip to content

Commit

Permalink
build: sort environment variables so we can find what we're looking for
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Jun 6, 2024
1 parent ed22639 commit f2c2c51
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ jobs:
set -xe
python -VV
python -m site
env
env | sort
- name: "Install dependencies"
run: |
Expand Down Expand Up @@ -200,13 +200,11 @@ jobs:
- name: "Show environment"
run: |
set -xe
env
env | sort
- name: "Compute info for later steps"
id: info
run: |
set -xe
env
export SHA10=$(echo ${{ github.sha }} | cut -c 1-10)
export SLUG=$(date +'%Y%m%d')_$SHA10
export REPORT_DIR=reports/$SLUG/htmlcov
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
python -c "import sys; print('GIL:', getattr(sys, '_is_gil_enabled', lambda: True)())"
python -m coverage debug sys
python -m coverage debug pybehave
env
env | sort
- name: "Install dependencies"
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
set -xe
python -VV
python -m site
env
env | sort
- name: "Install dependencies"
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
python -m site
# For extreme debugging:
# python -c "import urllib.request as r; exec(r.urlopen('https://bit.ly/pydoctor').read())"
env
env | sort
- name: "Install dependencies"
run: |
Expand Down

0 comments on commit f2c2c51

Please sign in to comment.