diff --git a/.github/workflows/unittests.yaml b/.github/workflows/unittests.yaml index 325a409..e9ad1e6 100644 --- a/.github/workflows/unittests.yaml +++ b/.github/workflows/unittests.yaml @@ -136,3 +136,31 @@ jobs: perl Makefile.PL make -j4 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 + diff --git a/MANIFEST b/MANIFEST index 725b31d..c205ec5 100644 --- a/MANIFEST +++ b/MANIFEST @@ -9,35 +9,38 @@ META.yml README t/apache-include.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.16a t/cfg.17 t/cfg.19 -t/cfg.2 t/cfg.20.a t/cfg.20.b t/cfg.20.c -t/cfg.3 t/cfg.34 t/cfg.39 -t/cfg.4 t/cfg.40 t/cfg.41 t/cfg.42 t/cfg.43 t/cfg.45 t/cfg.46 -t/cfg.5 -t/cfg.6 -t/cfg.7 -t/cfg.8 +t/cfg.51 t/cfg.55 +t/cfg.58 +t/cfg.59 +t/complex.cfg t/complex/n1.cfg t/complex/n2.cfg -t/complex.cfg t/dual-include.conf t/included.conf +t/notincluded.conf.not t/run.t t/sub1/cfg.sub1 t/sub1/cfg.sub1b @@ -50,8 +53,5 @@ t/sub1/sub2/sub3/cfg.sub3 t/test.rc t/Tie/IxHash.pm t/Tie/README -t/cfg.51 t/utf8_bom/bar.cfg t/utf8_bom/foo.cfg -t/cfg.58 -t/cfg.59