fix: fix deHTML.pm warnings and add tests for deHTML/enBase64 #63
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: testsuite | |
| on: | |
| push: | |
| branches: | |
| - "*" | |
| tags-ignore: | |
| - "*" | |
| pull_request: | |
| jobs: | |
| ubuntu: | |
| env: | |
| PERL_USE_UNSAFE_INC: 0 | |
| AUTHOR_TESTING: 1 | |
| AUTOMATED_TESTING: 1 | |
| RELEASE_TESTING: 1 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: perl -V | |
| run: perl -V | |
| - name: Install Dependencies | |
| uses: perl-actions/install-with-cpm@stable | |
| with: | |
| cpanfile: "cpanfile" | |
| - name: Makefile.PL | |
| run: perl Makefile.PL | |
| - name: make test | |
| run: make test | |
| disttest: | |
| env: | |
| PERL_USE_UNSAFE_INC: 0 | |
| AUTHOR_TESTING: 1 | |
| AUTOMATED_TESTING: 1 | |
| RELEASE_TESTING: 1 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: perl -V | |
| run: perl -V | |
| - name: Install Dependencies | |
| uses: perl-actions/install-with-cpm@stable | |
| with: | |
| cpanfile: "cpanfile" | |
| - name: Makefile.PL | |
| run: perl Makefile.PL | |
| - name: make disttest | |
| run: make disttest | |
| perl-versions: | |
| runs-on: ubuntu-latest | |
| needs: [ubuntu, disttest] | |
| name: List Perl versions | |
| outputs: | |
| perl-versions: ${{ steps.action.outputs.perl-versions }} | |
| steps: | |
| - id: action | |
| uses: perl-actions/perl-versions@v1 | |
| with: | |
| since-perl: 5.10 | |
| with-devel: true | |
| linux: | |
| name: "Perl ${{ matrix.perl-version }}" | |
| needs: [perl-versions] | |
| runs-on: ubuntu-latest | |
| env: | |
| PERL_USE_UNSAFE_INC: 0 | |
| AUTHOR_TESTING: 1 | |
| AUTOMATED_TESTING: 1 | |
| RELEASE_TESTING: 1 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| perl-version: ${{ fromJson(needs.perl-versions.outputs.perl-versions) }} | |
| container: | |
| image: perldocker/perl-tester:${{ matrix.perl-version }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: perl -V | |
| run: perl -V | |
| - name: Install Dependencies | |
| uses: perl-actions/install-with-cpm@stable | |
| with: | |
| sudo: false | |
| cpanfile: "cpanfile" | |
| - run: perl Makefile.PL | |
| - run: make | |
| - run: make test | |
| macOS: | |
| needs: [ubuntu, linux, windows] | |
| runs-on: macos-latest | |
| env: | |
| PERL_USE_UNSAFE_INC: 0 | |
| AUTHOR_TESTING: 1 | |
| AUTOMATED_TESTING: 1 | |
| RELEASE_TESTING: 1 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Perl | |
| run: brew install perl | |
| - name: perl -V | |
| run: perl -V | |
| - name: Install Dependencies | |
| uses: perl-actions/install-with-cpm@stable | |
| with: | |
| sudo: false | |
| cpanfile: "cpanfile" | |
| - run: perl Makefile.PL | |
| - run: make | |
| - run: make test | |
| windows: | |
| needs: [ubuntu, linux] | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Perl | |
| run: | | |
| choco install strawberryperl | |
| echo @" | |
| C:\strawberry\c\bin | |
| C:\strawberry\perl\site\bin | |
| C:\strawberry\perl\bin | |
| "@ | | |
| Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append | |
| - name: perl -V | |
| run: perl -V | |
| - name: Install Dependencies | |
| uses: perl-actions/install-with-cpm@stable | |
| with: | |
| sudo: false | |
| cpanfile: "cpanfile" | |
| - name: perl Makefile.PL | |
| run: perl Makefile.PL | |
| - name: make | |
| run: make | |
| - name: Run Tests | |
| run: make test |