Skip to content

Commit

Permalink
All matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
marccampbell committed May 27, 2020
1 parent 1a9eaf1 commit 5a258cd
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 6 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build-and-test.yaml
Expand Up @@ -50,6 +50,9 @@ jobs:
test-mysql:
runs-on: ubuntu-latest
needs: build
strategy:
matrix:
mysql_version: [5.6, 5.7, 8.0]
steps:
- uses: actions/checkout@v2
- name: Download schemahero binary
Expand All @@ -58,11 +61,14 @@ jobs:
name: schemahero
path: bin/
- run: chmod +x bin/schemahero
- run: make -C integration/tests/mysql run
- run: make -C integration/tests/mysql ${{matrix.mysql_version}}

test-cockroach:
runs-on: ubuntu-latest
needs: build
strategy:
matrix:
cockroachdb_version: [v19.2.7, v20.1.0]
steps:
- uses: actions/checkout@v2
- name: Download schemahero binary
Expand All @@ -71,7 +77,7 @@ jobs:
name: schemahero
path: bin/
- run: chmod +x bin/schemahero
- run: make -C integration/tests/cockroach run
- run: make -C integration/tests/cockroach ${{matrix.cockroachdb_version}}

kots:
runs-on: ubuntu-latest
Expand Down
17 changes: 13 additions & 4 deletions .github/workflows/tagged-release.yaml
Expand Up @@ -33,6 +33,9 @@ jobs:
test-postgres:
runs-on: ubuntu-latest
needs: build
strategy:
matrix:
postgres_version: [10.13, 11.8, 12.3]
steps:
- uses: actions/checkout@v2
- name: Download schemahero binary
Expand All @@ -41,11 +44,14 @@ jobs:
name: schemahero
path: bin/
- run: chmod +x bin/schemahero
- run: make -C integration/tests/postgres run
- run: make -C integration/tests/postgres ${{matrix.postgres_version}}

test-mysql:
runs-on: ubuntu-latest
needs: build
strategy:
matrix:
mysql_version: [5.6, 5.7, 8.0]
steps:
- uses: actions/checkout@v2
- name: Download schemahero binary
Expand All @@ -54,11 +60,14 @@ jobs:
name: schemahero
path: bin/
- run: chmod +x bin/schemahero
- run: make -C integration/tests/mysql run
- run: make -C integration/tests/mysql ${{matrix.mysql_version}}

test-cockroach:
runs-on: ubuntu-latest
needs: build
strategy:
matrix:
cockroachdb_version: [v19.2.7, v20.1.0]
steps:
- uses: actions/checkout@v2
- name: Download schemahero binary
Expand All @@ -67,8 +76,8 @@ jobs:
name: schemahero
path: bin/
- run: chmod +x bin/schemahero
- run: make -C integration/tests/cockroach run

- run: make -C integration/tests/cockroach ${{matrix.cockroachdb_version}}
goreleaser:
runs-on: ubuntu-latest
needs:
Expand Down

0 comments on commit 5a258cd

Please sign in to comment.