diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..da6b906b --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,12 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" + time: "02:00" diff --git a/.github/workflows/push_pr.yml b/.github/workflows/push_pr.yml new file mode 100644 index 00000000..be7a0ea4 --- /dev/null +++ b/.github/workflows/push_pr.yml @@ -0,0 +1,33 @@ +name: Matrix Testing + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + schedule: + - cron: '0 0 * * 1' + +jobs: + test: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ 'ubuntu-latest', 'macos-latest', 'windows-latest' ] + perl: [ '5.36.0', '5.34.1', '5.32.1', '5.30.3', '5.28.3', '5.26.3', '5.24.4', '5.22.4', '5.20.3', '5.18.4', '5.16.3', '5.14.4', '5.12.5', '5.10.1' ] + continue-on-error: ${{ matrix.os == 'windows-latest' && contains(fromJson('["5.20.3", "5.18.4", "5.16.3", "5.14.4", "5.12.5", "5.10.1"]'), matrix.perl) }} + name: Perl ${{ matrix.perl }} on ${{ matrix.os }} + steps: + - uses: actions/checkout@v3 + - name: Set up perl + uses: shogo82148/actions-setup-perl@v1 + with: + perl-version: ${{ matrix.perl }} + - name: Test + run: | + perl -V + cpanm -n Expect YAML CPAN::Perl::Releases + perl Makefile.PL + make touchtestdistros + make test diff --git a/.gitignore b/.gitignore index af6156d2..cb338122 100644 --- a/.gitignore +++ b/.gitignore @@ -10,8 +10,8 @@ t/97-return_values.out test.out *.swp .* +!.github !.gitignore -!.travis.yml SIGNATURE t/CPAN/authors/id/A/AN/ANDK/NotInChecksums-0.000.tar.gz ./CPAN-* diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index fa26b42e..00000000 --- a/.travis.yml +++ /dev/null @@ -1,22 +0,0 @@ -before_install: - - sudo apt-get install -y liblog-log4perl-perl -arch: - - amd64 - - ppc64le -language: perl -perl: - - '5.28' - - '5.26' - - '5.24' - - '5.22' - - '5.20' - - '5.18' - - '5.16' - - '5.14' - - '5.12' - - '5.10' -install: cpanm -n Expect YAML -script: - - perl Makefile.PL - - make touchtestdistros - - make test