Move unmocking till after done testing $@
#650
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
| # This workflow tests Sqitch's SQLite engine on all supported versions of | |
| # SQLite. It runs on pushes to branches matching `develop`, `**sqlite**`, and | |
| # `**engine**` as well as pull requests. | |
| name: 💡 SQLite | |
| on: | |
| push: | |
| branches: [develop, "**engine**", "**sqlite**"] | |
| pull_request: | |
| jobs: | |
| SQLite: | |
| strategy: | |
| matrix: | |
| # https://sqlite.org/chronology.html | |
| sqlite: [3.51.1, 3.50.4, 3.49.2, 3.48.0, 3.47.2, 3.46.1, 3.45.3, 3.44.2, 3.43.2, 3.42.0, 3.41.2, 3.40.1, 3.39.4, 3.38.5, 3.37.2, 3.36.0, 3.35.5, 3.34.1, 3.33.0, 3.32.3, 3.31.1, 3.30.1, 3.29.0, 3.28.0, 3.27.2, 3.26.0, 3.25.3, 3.24.0, 3.23.1, 3.22.0, 3.21.0, 3.20.1, 3.19.3, 3.18.0, 3.17.0, 3.16.2, 3.15.2, 3.14.2, 3.13.0, 3.12.2, 3.11.1, 3.10.2, 3.9.2, 3.8.11.1, 3.8.6] | |
| name: 💡 SQLite ${{ matrix.sqlite }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Perl | |
| id: perl | |
| uses: shogo82148/actions-setup-perl@v1 | |
| with: { perl-version: latest } | |
| - name: Cache CPAN Modules | |
| uses: actions/cache@v4 | |
| with: | |
| path: local | |
| key: perl-${{ steps.perl.outputs.perl-hash }} | |
| - run: cpm install --top-level-phase configure,build,test,runtime --verbose --show-build-log-on-failure --no-test --top-level-relationship requires,recommends --cpanfile dist/cpanfile | |
| - run: cpm install --top-level-phase configure,build,test,runtime --verbose --show-build-log-on-failure --no-test --top-level-relationship requires,recommends DBI | |
| - name: Install SQLite | |
| env: { PERL5LIB: "${{ github.workspace }}/local/lib/perl5" } | |
| run: .github/ubuntu/sqlite.sh ${{ matrix.sqlite }} | |
| - name: prove | |
| env: | |
| PERL5LIB: "${{ github.workspace }}/local/lib/perl5" | |
| LIVE_SQLITE_REQUIRED: true | |
| run: prove -lvr t/sqlite.t |