|
1 |
| -name: CI |
| 1 | +name: Test |
2 | 2 | on:
|
3 | 3 | workflow_dispatch:
|
4 | 4 | pull_request:
|
5 | 5 | push:
|
6 | 6 | branches: [main]
|
7 | 7 | jobs:
|
8 |
| - test: |
9 |
| - name: Test |
| 8 | + test-action: |
| 9 | + name: Test Action |
10 | 10 | runs-on: ${{ matrix.os }}-latest
|
11 | 11 | strategy:
|
12 | 12 | fail-fast: false
|
13 | 13 | matrix:
|
14 |
| - os: [Windows, Ubuntu, macOS] |
| 14 | + os: [windows, ubuntu, macos] |
15 | 15 | steps:
|
16 | 16 | - name: Checkout
|
17 | 17 | uses: actions/checkout@v4.1.1
|
18 | 18 | with:
|
19 | 19 | path: setup-poetry-action
|
20 | 20 | sparse-checkout: action.yaml
|
21 | 21 |
|
22 |
| - - name: Poetry should not be available |
| 22 | + - name: Poetry Should Not Be Available |
23 | 23 | shell: bash
|
24 | 24 | run: "! which poetry"
|
25 | 25 |
|
26 |
| - - name: Setup Poetry with caching |
| 26 | + - name: Setup Poetry |
27 | 27 | uses: ./setup-poetry-action
|
28 | 28 |
|
29 |
| - - name: Poetry should be available |
| 29 | + - name: Poetry Should Be Available |
30 | 30 | shell: bash
|
31 | 31 | run: which poetry
|
32 | 32 |
|
33 |
| - - name: Poetry version should be correct |
| 33 | + - name: Ensure Poetry Version Is Correct |
34 | 34 | shell: bash
|
35 | 35 | run: test "$(poetry --version)" == 'Poetry (version ${{ vars.POETRY_LATEST_VERSION }})'
|
36 | 36 |
|
37 |
| - - name: Setup Poetry with a specific version |
| 37 | + - name: Setup Poetry With a Specific Version |
38 | 38 | uses: ./setup-poetry-action
|
39 | 39 | with:
|
40 | 40 | version: 1.5.1
|
41 | 41 | cache: false
|
42 | 42 |
|
43 |
| - - name: Poetry version should be correct |
| 43 | + - name: Ensure Poetry Version Is Correct |
44 | 44 | shell: bash
|
45 | 45 | run: test "$(poetry --version)" == 'Poetry (version 1.5.1)'
|
46 | 46 |
|
47 |
| - - name: Setup Poetry |
| 47 | + - name: Setup Poetry Without Cache |
48 | 48 | uses: ./setup-poetry-action
|
49 | 49 | with:
|
50 | 50 | cache: false
|
51 | 51 |
|
52 |
| - - name: Poetry version should be correct |
| 52 | + - name: Ensure Poetry Version Is Correct |
53 | 53 | shell: bash
|
54 | 54 | run: test "$(poetry --version)" == 'Poetry (version ${{ vars.POETRY_LATEST_VERSION }})'
|
0 commit comments