Fix test failures due to incorrect use of chmod
#455
This file contains 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 | |
# Postgres. It runs for pushes and pull requests on the `main`, `develop`, | |
# `**sqlite**`, and `**engine**` branches. | |
name: π‘ SQLite | |
on: | |
push: | |
branches: [main, develop, "**engine**", "**sqlite**" ] | |
pull_request: | |
branches: [main, develop, "**engine**", "**sqlite**" ] | |
jobs: | |
SQLite: | |
strategy: | |
matrix: | |
# https://sqlite.org/chronology.html | |
sqlite: [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@v3 | |
- name: Setup Perl | |
id: perl | |
uses: shogo82148/actions-setup-perl@v1 | |
with: { perl-version: latest } | |
- name: Cache CPAN Modules | |
uses: actions/cache@v3 | |
with: | |
path: local | |
key: perl-${{ steps.perl.outputs.perl-hash }} | |
- run: cpm install --verbose --show-build-log-on-failure --no-test --with-recommends --cpanfile dist/cpanfile | |
- run: cpm install --verbose --show-build-log-on-failure --no-test --with-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 |