From efac8fcbf82598b9ff3cf6cf0e4a19e3926ef040 Mon Sep 17 00:00:00 2001 From: Ed J Date: Fri, 20 Dec 2024 19:50:55 +0000 Subject: [PATCH 1/3] CI min 5.16, zap redundant 00-load.t, CI install LAPACK --- .github/workflows/ci.yml | 4 +++- MANIFEST | 1 - t/00-load.t | 13 ------------- 3 files changed, 3 insertions(+), 15 deletions(-) delete mode 100644 t/00-load.t diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 56d5ecb..8058941 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - perl-version: ['5.10', '5.14', '5.16', '5.20', '5.26'] + perl-version: ['5.16', '5.20', '5.26'] include: - perl-version: '5.30' os: ubuntu-latest @@ -43,6 +43,8 @@ jobs: perl-version: ${{ matrix.perl-version }} - name: Install PDL dependencies uses: PDLPorters/devops/github-actions/install-dep-pdl-dep@master + - name: Install LAPACK + uses: PDLPorters/devops/github-actions/install-dep-lapack@master - name: 'ci-dist: target-all' uses: PDLPorters/devops/github-actions/ci-dist@master with: diff --git a/MANIFEST b/MANIFEST index a0d6852..694eafe 100644 --- a/MANIFEST +++ b/MANIFEST @@ -6,7 +6,6 @@ README README.md lib/PDL/IO/MDIF.pm lib/PDL/IO/Touchstone.pm -t/00-load.t t/01-snp-tests.t t/02-snp-read.t t/03-read-test-data.t diff --git a/t/00-load.t b/t/00-load.t deleted file mode 100644 index afbd52c..0000000 --- a/t/00-load.t +++ /dev/null @@ -1,13 +0,0 @@ -#!perl -use 5.010; -use strict; -use warnings; -use Test::More; - -plan tests => 1; - -BEGIN { - use_ok( 'PDL::IO::Touchstone' ) || print "Bail out!\n"; -} - -diag( "Testing PDL::IO::Touchstone $PDL::IO::Touchstone::VERSION, Perl $], $^X" ); From eafad4e2caaa6f191bb17964e5de03e8b7e7e2a5 Mon Sep 17 00:00:00 2001 From: Ed J Date: Thu, 6 Apr 2023 23:33:35 +0100 Subject: [PATCH 2/3] put author tests in xt/ --- MANIFEST.SKIP | 46 ++++++++++++++++++++++++++++++++++++++-- t/manifest.t | 15 ------------- xt/manifest.t | 12 +++++++++++ {t => xt}/pod-coverage.t | 0 {t => xt}/pod.t | 0 5 files changed, 56 insertions(+), 17 deletions(-) delete mode 100644 t/manifest.t create mode 100644 xt/manifest.t rename {t => xt}/pod-coverage.t (100%) rename {t => xt}/pod.t (100%) diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP index 2d80f66..0f9fa38 100644 --- a/MANIFEST.SKIP +++ b/MANIFEST.SKIP @@ -1,7 +1,49 @@ ^.*\.sh$ -^\.gitignore -^\.github ^\.git ^ignore\.txt ^MANIFEST\.SKIP ^ignoredeps +^xt/ +^Makefile(\.(aperl|old))?$ +^(MY)?META +\.sw.$ +\.DS_Store +%$ +-stamp$ +.*/TAGS$ +.*Version_check$ +.*\#$ +.*\.0$ +.*\.orig$ +.*\.rej$ +/\.\#.* +\bpm_to_blib$ +MANIFEST\.bak$ +MANIFEST\.old +\.(tmp|new|diff|ori)$ +\.BAK$ +\.bck$ +\.bs +\.bundle$ +\.lck$ +\.m$ +\.o$ +\.out$ +\.patch$ +\.so$ +\.tar\.gz$ +\b_eumm/ + +^\.\#.* +^\.git +\.gitignore$ +^blib/ +~$ +^xt/ + +^\.cirrus\.yml + +cover_db/ +^nytprof(/|\.out) +\.gc(ov|no|da)$ +pp-\w*\.c$ diff --git a/t/manifest.t b/t/manifest.t deleted file mode 100644 index 1a5cca1..0000000 --- a/t/manifest.t +++ /dev/null @@ -1,15 +0,0 @@ -#!perl -use 5.010; -use strict; -use warnings; -use Test::More; - -unless ( $ENV{RELEASE_TESTING} ) { - plan( skip_all => "Author tests not required for installation" ); -} - -my $min_tcm = 0.9; -eval "use Test::CheckManifest $min_tcm"; -plan skip_all => "Test::CheckManifest $min_tcm required" if $@; - -ok_manifest(); diff --git a/xt/manifest.t b/xt/manifest.t new file mode 100644 index 0000000..a817ebc --- /dev/null +++ b/xt/manifest.t @@ -0,0 +1,12 @@ +use strict; +use warnings; +use Test::More; +use ExtUtils::Manifest; + +unless ( $ENV{RELEASE_TESTING} ) { + plan( skip_all => "Author tests not required for installation" ); +} +plan tests => 2; + +is_deeply [ ExtUtils::Manifest::manicheck() ], [], 'missing'; +is_deeply [ ExtUtils::Manifest::filecheck() ], [], 'extra'; diff --git a/t/pod-coverage.t b/xt/pod-coverage.t similarity index 100% rename from t/pod-coverage.t rename to xt/pod-coverage.t diff --git a/t/pod.t b/xt/pod.t similarity index 100% rename from t/pod.t rename to xt/pod.t From 7d0d262a1f04e14a238588dd142dd7fa078fe854 Mon Sep 17 00:00:00 2001 From: Ed J Date: Thu, 6 Apr 2023 23:33:35 +0100 Subject: [PATCH 3/3] put author tests in xt/, fix manifest test --- MANIFEST | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/MANIFEST b/MANIFEST index 694eafe..b30fdcc 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1,11 +1,11 @@ Changes +lib/PDL/IO/MDIF.pm +lib/PDL/IO/Touchstone.pm LICENSE -MANIFEST Makefile.PL +MANIFEST This list of files README README.md -lib/PDL/IO/MDIF.pm -lib/PDL/IO/Touchstone.pm t/01-snp-tests.t t/02-snp-read.t t/03-read-test-data.t @@ -17,15 +17,10 @@ t/100-mdif-rewrite.t t/11-m_interpolate.t t/12-m_interpolate-range.t t/20-y_calcs.t -t/manifest.t -t/pod-coverage.t -t/pod.t -t/test-data/IDEAL_OPEN.s2p -t/test-data/IDEAL_SHORT.s2p t/test-data/cha3024-99f-lna.s2p t/test-data/hmc1118.s3p -t/test-data/muRata/LICENSE.muRata -t/test-data/muRata/README +t/test-data/IDEAL_OPEN.s2p +t/test-data/IDEAL_SHORT.s2p t/test-data/muRata/cap-muRata-GRM1555CYA103GE01_10nF_35v.s2p t/test-data/muRata/cap-muRata-GRM155R61C105KA12_1uF_16v.s2p t/test-data/muRata/ferrite-muRata-BLM15BD182SN1_0402_1800Z_100MHz.s2p @@ -35,5 +30,6 @@ t/test-data/muRata/ind-choke-muRata-LQW15CA2R0K00.s2p t/test-data/muRata/ind-choke-muRata-LQW15DN150M00.s2p t/test-data/muRata/ind-muRata-LQW15AN3N8C10.s2p t/test-data/muRata/ind-muRata-LQW15AN9N9G00.s2p +t/test-data/muRata/LICENSE.muRata t/test-data/muRata/muRata-GQM-0402.mdf -xt/boilerplate.t +t/test-data/muRata/README