File tree Expand file tree Collapse file tree 3 files changed +14
-4
lines changed
Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -13,30 +13,37 @@ runs:
1313 using : composite
1414 steps :
1515 - name : Build
16- shell : bash
16+ shell : bash -leo pipefail {0}
1717 run : |
18+ python3 --version
1819 if [[ -f setup.py ]]; then
1920 # old style setup.py project
2021 # (must manually install build dependencies)
2122 echo "setup.py detected"
23+ echo "::group::Installing build dependencies"
2224 python3 -m pip install wheel setuptools
25+ echo "::endgroup::"
2326 python3 setup.py bdist_wheel sdist
2427 else
2528 # PEP517 project
2629 # (must install a builder, this installs build deps for us)
2730 echo "PEP 517 project detected"
31+ echo "::group::Installing build dependencies"
2832 python3 -m pip install build
33+ echo "::endgroup::"
2934 python3 -m build
3035 fi
3136
3237 - name : Check build
33- shell : bash
38+ shell : bash -leo pipefail {0}
3439 run : |
40+ echo "::group::Installing twine"
3541 python3 -m pip install twine
42+ echo "::endgroup::"
3643 twine check dist/*
3744
3845 - name : Check dependencies
3946 if : inputs.check-dependencies == 'true'
4047 # ^ string comparison needed due to https://github.com/actions/runner/issues/2238
41- shell : bash
48+ shell : bash -leo pipefail {0}
4249 run : python3 -m pip install -e .[all] --dry-run --ignore-installed
Original file line number Diff line number Diff line change 8080 # NOTE: use login shell to allow us to work with setup-micromamba
8181 shell : bash -elo pipefail {0}
8282 run : |
83+ python --version
8384 wget \
8485 https://raw.githubusercontent.com/cylc/cylc-admin/master/docs/status/branches.json
8586 cat branches.json
Original file line number Diff line number Diff line change 66 steps :
77 - name : Install Towncrier if needed
88 shell : bash -elo pipefail {0}
9- run : python3 -m pip install -q towncrier
9+ run : |
10+ python3 -m pip install -q towncrier
11+ towncrier --version
1012
1113 - name : Get package version if NodeJS project
1214 id : node
You can’t perform that action at this time.
0 commit comments