-
-
Notifications
You must be signed in to change notification settings - Fork 201
111 lines (107 loc) · 4.34 KB
/
test-fixtures.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
name: Test fixtures
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test-fixtures:
name: Test fixtures
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
include:
- fixtures-name: new-fixture-template
- fixtures-name: test-github-integration
- fixtures-name: test-gitlab-integration
- fixtures-name: test-gitea-integration
- fixtures-name: test-bitbucket-integration
- fixtures-name: test-ignore-tags
- fixtures-name: test-invert-ignore-tags
- fixtures-name: test-topo-order
command: --latest
- fixtures-name: test-date-order
command: --latest
- fixtures-name: test-topo-order-arg
command: --latest --topo-order
- fixtures-name: test-latest-with-one-tag
command: --latest
- fixtures-name: test-commit-footers
- fixtures-name: test-commit-preprocessors
- fixtures-name: test-custom-scope
- fixtures-name: test-limit-commits
- fixtures-name: test-skip-breaking-changes
- fixtures-name: test-split-commits
- fixtures-name: test-bump-version
command: --bump
- fixtures-name: test-bump-version-major
command: --bump major
- fixtures-name: test-bump-version-minor
command: --bump minor
- fixtures-name: test-bump-version-patch
command: --bump patch
- fixtures-name: test-bump-version-custom-minor
command: --bump
- fixtures-name: test-bumped-version
command: --bumped-version
- fixtures-name: test-footer-template
- fixtures-name: test-keep-a-changelog-links
- fixtures-name: test-keep-a-changelog-links-current-arg
command: --current
- fixtures-name: test-keep-a-changelog-links-current-arg
command: --latest
- fixtures-name: test-keep-a-changelog-links-latest-arg
command: --latest
- fixtures-name: test-keep-a-changelog-links-no-tags
- fixtures-name: test-keep-a-changelog-links-no-tags
command: --unreleased
- fixtures-name: test-keep-a-changelog-links-no-tags
command: --latest
- fixtures-name: test-keep-a-changelog-links-no-tags
command: --current
- fixtures-name: test-keep-a-changelog-links-one-tag
- fixtures-name: test-keep-a-changelog-links-tag-arg
command: --tag v0.3.0
- fixtures-name: test-keep-a-changelog-links-unreleased-arg
command: --unreleased
- fixtures-name: test-keep-a-changelog-links-unreleased-arg
command: --latest --unreleased
- fixtures-name: test-keep-a-changelog-links-one-tag-bump-arg
command: --bump
- fixtures-name: test-skip-commits
command: --skip-commit ad27b43e8032671afb4809a1a3ecf12f45c60e0e
- fixtures-name: test-no-exec
command: --no-exec
- fixtures-name: test-custom-tag-pattern
command: --tag-pattern "alpha.*"
- fixtures-name: test-configure-from-cargo-toml
- fixtures-name: test-bump-initial-tag
command: --bump
- fixtures-name: test-bump-initial-tag-default
command: --bump
- fixtures-name: test-bump-initial-tag-cli-arg
command: --bump --tag=2.1.1
- fixtures-name: test-cli-arg-ignore-tags
command: --ignore-tags ".*beta"
- fixtures-name: test-tag-message
- fixtures-name: test-bump-unreleased-with-tag-message-arg
command: --bump --unreleased --with-tag-message "Some text"
- fixtures-name: test-from-context
command: --from-context context.json
- fixtures-name: test-always-render-unreleased
command: --unreleased
- fixtures-name: test-always-render
command: --unreleased --tag v0.2.0
- fixtures-name: test-unchanged-tag-date
command: --tag v0.2.0
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run a fixtures test
uses: ./.github/actions/run-fixtures-test
with:
fixtures-dir: .github/fixtures/${{ matrix.fixtures-name }}
command: ${{ matrix.command }}