Skip to content

Commit c1911ef

Browse files
authored
ci: rename CI workflow to Test workflow (#23)
* ci: rename `ci.yaml` workflow to `test.yaml` * ci(test): rename matrix OS names in `test-action` job * ci(test): rename steps in `test-action` job
1 parent 75c7155 commit c1911ef

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,54 @@
1-
name: CI
1+
name: Test
22
on:
33
workflow_dispatch:
44
pull_request:
55
push:
66
branches: [main]
77
jobs:
8-
test:
9-
name: Test
8+
test-action:
9+
name: Test Action
1010
runs-on: ${{ matrix.os }}-latest
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
os: [Windows, Ubuntu, macOS]
14+
os: [windows, ubuntu, macos]
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v4.1.1
1818
with:
1919
path: setup-poetry-action
2020
sparse-checkout: action.yaml
2121

22-
- name: Poetry should not be available
22+
- name: Poetry Should Not Be Available
2323
shell: bash
2424
run: "! which poetry"
2525

26-
- name: Setup Poetry with caching
26+
- name: Setup Poetry
2727
uses: ./setup-poetry-action
2828

29-
- name: Poetry should be available
29+
- name: Poetry Should Be Available
3030
shell: bash
3131
run: which poetry
3232

33-
- name: Poetry version should be correct
33+
- name: Ensure Poetry Version Is Correct
3434
shell: bash
3535
run: test "$(poetry --version)" == 'Poetry (version ${{ vars.POETRY_LATEST_VERSION }})'
3636

37-
- name: Setup Poetry with a specific version
37+
- name: Setup Poetry With a Specific Version
3838
uses: ./setup-poetry-action
3939
with:
4040
version: 1.5.1
4141
cache: false
4242

43-
- name: Poetry version should be correct
43+
- name: Ensure Poetry Version Is Correct
4444
shell: bash
4545
run: test "$(poetry --version)" == 'Poetry (version 1.5.1)'
4646

47-
- name: Setup Poetry
47+
- name: Setup Poetry Without Cache
4848
uses: ./setup-poetry-action
4949
with:
5050
cache: false
5151

52-
- name: Poetry version should be correct
52+
- name: Ensure Poetry Version Is Correct
5353
shell: bash
5454
run: test "$(poetry --version)" == 'Poetry (version ${{ vars.POETRY_LATEST_VERSION }})'

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![version](https://img.shields.io/github/v/release/threeal/setup-poetry-action?style=flat-square)](https://github.com/threeal/setup-poetry-action/releases)
44
[![license](https://img.shields.io/github/license/threeal/setup-poetry-action?style=flat-square)](./LICENSE)
5-
[![test status](https://img.shields.io/github/actions/workflow/status/threeal/setup-poetry-action/ci.yaml?label=test&branch=main&style=flat-square)](https://github.com/threeal/setup-poetry-action/actions/workflows/ci.yaml)
5+
[![test status](https://img.shields.io/github/actions/workflow/status/threeal/setup-poetry-action/test.yaml?label=test&branch=main&style=flat-square)](https://github.com/threeal/setup-poetry-action/actions/workflows/test.yaml)
66

77
The Setup Poetry Action is a [GitHub Action](https://github.com/features/actions) designed to streamline the setup of [Poetry](https://python-poetry.org/), a powerful dependency and packaging manager for [Python](https://www.python.org/) projects. This action allows you to easily configure and use a specific version of Poetry within your GitHub Actions workflow, enabling you to build and test your Python project seamlessly.
88

0 commit comments

Comments
 (0)