Skip to content

Commit

Permalink
ci: Update CI to use human-readable names for all stages
Browse files Browse the repository at this point in the history
Update CI stages to have concise, human-readable names.

* Update the CI badge in `README.md` to reflect the new stage names.
* Add `name` key to the `test` job with value "Run Tests (Python ${{ matrix.python-version }})".
* Add `name` key to the `release-windows` job with value "Release Windows".
* Add `name` key to the `release-pip` job with value "Release to PyPI".
* Update the `name` key for steps within the `test` job to be dynamic using the `strategy` matrix.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/Addono/HathiTrust-downloader?shareId=XXXX-XXXX-XXXX-XXXX).
  • Loading branch information
Addono committed Nov 8, 2024
1 parent 8b56c4e commit a9281cf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ env:

jobs:
test:
name: Run Tests (Python ${{ matrix.python-version }})
timeout-minutes: 15
runs-on: ubuntu-latest
strategy:
Expand Down Expand Up @@ -40,6 +41,7 @@ jobs:
run: bats tests/

release-windows:
name: Release Windows
runs-on: windows-latest

needs: [test]
Expand Down Expand Up @@ -79,6 +81,7 @@ jobs:
files: downloader_${{ env.VERSION }}_win.zip

release-pip:
name: Release to PyPI
runs-on: ubuntu-latest

needs: [test]
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
[![GitHub download](https://img.shields.io/github/downloads/Addono/HathiTrust-downloader/total.svg?style=flat-square&logo=github)][github-releases]
[![GitHub stars](https://img.shields.io/github/stars/Addono/HathiTrust-downloader?style=flat-square)](https://github.com/Addono/HathiTrust-downloader/stargazers)
[![License](https://img.shields.io/github/license/Addono/HathiTrust-downloader.svg?style=flat-square)](LICENSE)
[![CI](https://github.com/Addono/HathiTrust-downloader/actions/workflows/ci.yaml/badge.svg?event=push)][ci-badge]

## Installing

Expand Down Expand Up @@ -80,6 +81,7 @@ Make sure that you can access books on HathiTrust. Try to open a book in your br
[pypi]: https://pypi.org/project/hathitrust-downloader/
[github-releases]: https://github.com/Addono/HathiTrust-downloader/releases/latest
[ci-badge]: https://github.com/Addono/HathiTrust-downloader/actions/workflows/ci.yaml/badge.svg?event=push
## Developing
Expand Down

0 comments on commit a9281cf

Please sign in to comment.