-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
125 changed files
with
3,051 additions
and
1,279 deletions.
There are no files selected for viewing
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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# This workflow tests Sqitch's Cockroach engine on all supported versions of | ||
# Postgres. It runs for pushes and pull requests on the `main`, `develop`, | ||
# `**cockroach**`, and `**engine**` branches. | ||
name: 🪳 Cockroach | ||
on: | ||
push: | ||
branches: [main, develop, "**engine**", "**cockroach**" ] | ||
pull_request: | ||
branches: [main, develop, "**engine**", "**cockroach**" ] | ||
jobs: | ||
Cockroach: | ||
strategy: | ||
matrix: | ||
version: ['22.1', '21.2'] | ||
name: 🪳 Cockroach ${{ matrix.version }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Start CockroachDB | ||
run: docker run -d -p 26257:26257 cockroachdb/cockroach:latest-v${{ matrix.version }} start-single-node --insecure | ||
- uses: actions/checkout@v2 | ||
- name: Setup Perl | ||
id: perl | ||
uses: shogo82148/actions-setup-perl@v1 | ||
with: { perl-version: latest } | ||
- name: Cache CPAN Modules | ||
uses: actions/cache@v2 | ||
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 DBD::Pg | ||
- name: prove | ||
env: | ||
PERL5LIB: "${{ github.workspace }}/local/lib/perl5" | ||
LIVE_COCKROACH_REQUIRED: true | ||
SQITCH_TEST_COCKROACH_URI: db:cockroach://root@localhost:26257/ | ||
run: prove -lvr t/cockroach.t |
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 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 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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# This workflow tests Sqitch's PostgreSQL engine on all supported versions of | ||
# YugabyteDB. It runs for pushes and pull requests on the `main`, `develop`, | ||
# `**postgres**`, `**yugabyte**`, and `**engine**` branches. | ||
name: 💫 Yugabyte | ||
on: | ||
push: | ||
branches: [main, develop, "**engine**", "**postgres**", "**yugabyte**" ] | ||
pull_request: | ||
branches: [main, develop, "**engine**", "**postgres**", "**yugabyte**" ] | ||
jobs: | ||
Yugabyte: | ||
strategy: | ||
matrix: | ||
include: | ||
- { version: '2.13', tag: 2.13.2.0-b135 } | ||
- { version: '2.12', tag: 2.12.5.0-b24 } | ||
- { version: '2.8', tag: 2.8.6.0-b12 } | ||
- { version: '2.6', tag: 2.6.18.0-b3 } | ||
name: 💫 Yugabyte ${{ matrix.version }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Setup YugabyteDB cluster | ||
id: yugabyte | ||
uses: yugabyte/yugabyte-db-action@master | ||
with: | ||
yb_image_tag: "${{ matrix.tag }}" | ||
- uses: actions/checkout@v2 | ||
- name: Setup Perl | ||
id: perl | ||
uses: shogo82148/actions-setup-perl@v1 | ||
with: { perl-version: latest } | ||
- name: Cache CPAN Modules | ||
uses: actions/cache@v2 | ||
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 DBD::Pg | ||
- name: prove | ||
env: | ||
PERL5LIB: "${{ github.workspace }}/local/lib/perl5" | ||
LIVE_PG_REQUIRED: true | ||
SQITCH_TEST_PG_URI: db:pg://yugabyte@localhost:${{ steps.yugabyte.outputs.ysql_port }}/ | ||
run: prove -lvr t/pg.t |
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 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 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
Oops, something went wrong.