summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnderson Bravalheri <andersonbravalheri@gmail.com>2022-11-11 10:51:45 +0000
committerAnderson Bravalheri <andersonbravalheri@gmail.com>2022-11-11 10:51:45 +0000
commit16e49c950c93a29627828c82427fe0fd9731213c (patch)
tree8b11bda1122a9b1b904b6538dff15c68900d5ef9
parent6bcd175ebe9e7e0fae939e76937b1026a8df531c (diff)
downloadpython-setuptools-git-16e49c950c93a29627828c82427fe0fd9731213c.tar.gz
Minor stylistic change
-rw-r--r--.github/workflows/main.yml21
1 files changed, 6 insertions, 15 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 30961fcb..37ba8c12 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -110,10 +110,8 @@ jobs:
# NOTE: This roughly emulates what `actions/setup-python@v4` provides
# NOTE: except the action gets the version from the installation path
# NOTE: on disk and we get it from runtime.
- run: >-
- python -c
- 'import platform; print("python-version=" + platform.python_version())'
- >> ${GITHUB_OUTPUT}
+ run: |
+ python -c 'import platform; print("python-version=" + platform.python_version())' >> ${GITHUB_OUTPUT}
shell: C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0}
- name: Run tests
shell: C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0}
@@ -122,9 +120,8 @@ jobs:
tox
- name: Create coverage report
if: hashFiles('.coverage') != '' # Rudimentary `file.exists()`
- run: >-
+ run: |
python -m pip install coverage
- &&
python -m coverage xml --ignore-errors
shell: C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0}
- name: Publish coverage
@@ -136,15 +133,9 @@ jobs:
flags: >- # Mark which lines are covered by which envs
CI-GHA,
${{ github.job }},
- OS-${{
- runner.os
- }},
- VM-${{
- matrix.platform
- }},
- Py-${{
- steps.python-install.outputs.python-version
- }}
+ OS-${{ runner.os }},
+ VM-${{ matrix.platform }},
+ Py-${{ steps.python-install.outputs.python-version }}
integration-test:
needs: test