Skip to content

Commit 6a95d08

Browse files
committed
add subpackages and use package.version in testing
the tests were failing because we were hardcoding the version inside the tests. moved that to use ${{package.version}} meaning it'll pass on every update automatically. the main package was also including docs and locales so moved that to separate subpackages making the size of main package a little bit more smaller. Signed-off-by: kranurag7 <[email protected]>
1 parent 79309be commit 6a95d08

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

gawk.yaml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,34 @@ pipeline:
3333

3434
- uses: strip
3535

36+
subpackages:
37+
- name: ${{package.name}}-doc
38+
pipeline:
39+
- uses: split/manpages
40+
description: ${{package.name}} manpages
41+
test:
42+
pipeline:
43+
- uses: test/docs
44+
45+
- name: ${{package.name}}-lang
46+
pipeline:
47+
- uses: split/locales
48+
description: ${{package.name}} locales
49+
3650
update:
3751
enabled: true
3852
release-monitor:
3953
identifier: 868
4054

4155
test:
4256
pipeline:
43-
# AUTOGENERATED
4457
- runs: |
4558
awk --version
4659
gawk --version
47-
gawk-5.3.1 --version
60+
gawk-${{package.version}} --version
4861
gawkbug --version
4962
awk --help
5063
gawk --help
51-
gawk-5.3.1 --help
64+
gawk-${{package.version}} --help
5265
gawkbug --help
5366
- uses: test/tw/ldd-check

0 commit comments

Comments
 (0)