sort MANIFEST and add CI test to test the tarball to avoid #5

This commit is contained in:
2025-01-08 08:23:00 +01:00
parent 1bd8bd209f
commit 1c67c21412
2 changed files with 40 additions and 12 deletions

View File

@@ -136,3 +136,31 @@ jobs:
perl Makefile.PL perl Makefile.PL
make -j4 make -j4
make test make test
test_dist:
name: Test dist file
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
with:
clean: false
show-progress: false
- name: Build dist file
run: |
perl Makefile.PL
make -j4 dist
- name: unpack dist file
run: |
tar xfz Config-General-*.tar.gz
rm -f Config-General-*.tar.gz
cd Config-General-*
- name: Run tests in dist
run: |
perl Makefile.PL
make -j4 test

View File

@@ -9,35 +9,38 @@ META.yml
README README
t/apache-include.conf t/apache-include.conf
t/apache-include-opt.conf t/apache-include-opt.conf
t/notincluded.conf.not t/cfg.2
t/cfg.3
t/cfg.4
t/cfg.5
t/cfg.6
t/cfg.7
t/cfg.8
t/cfg.16 t/cfg.16
t/cfg.16a t/cfg.16a
t/cfg.17 t/cfg.17
t/cfg.19 t/cfg.19
t/cfg.2
t/cfg.20.a t/cfg.20.a
t/cfg.20.b t/cfg.20.b
t/cfg.20.c t/cfg.20.c
t/cfg.3
t/cfg.34 t/cfg.34
t/cfg.39 t/cfg.39
t/cfg.4
t/cfg.40 t/cfg.40
t/cfg.41 t/cfg.41
t/cfg.42 t/cfg.42
t/cfg.43 t/cfg.43
t/cfg.45 t/cfg.45
t/cfg.46 t/cfg.46
t/cfg.5 t/cfg.51
t/cfg.6
t/cfg.7
t/cfg.8
t/cfg.55 t/cfg.55
t/cfg.58
t/cfg.59
t/complex.cfg
t/complex/n1.cfg t/complex/n1.cfg
t/complex/n2.cfg t/complex/n2.cfg
t/complex.cfg
t/dual-include.conf t/dual-include.conf
t/included.conf t/included.conf
t/notincluded.conf.not
t/run.t t/run.t
t/sub1/cfg.sub1 t/sub1/cfg.sub1
t/sub1/cfg.sub1b t/sub1/cfg.sub1b
@@ -50,8 +53,5 @@ t/sub1/sub2/sub3/cfg.sub3
t/test.rc t/test.rc
t/Tie/IxHash.pm t/Tie/IxHash.pm
t/Tie/README t/Tie/README
t/cfg.51
t/utf8_bom/bar.cfg t/utf8_bom/bar.cfg
t/utf8_bom/foo.cfg t/utf8_bom/foo.cfg
t/cfg.58
t/cfg.59