Add MySQL 8 to CI #1441
Workflow file for this run
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
name: CI | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: unittest | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
elixirbase: | |
- "1.13.4-erlang-24.3.4.2-alpine-3.16.0" | |
- "1.13.4-erlang-22.3.4.20-alpine-3.14.0" | |
steps: | |
- uses: earthly/actions-setup@v1 | |
- uses: actions/checkout@v3 | |
- name: test ecto_sql | |
run: earthly -P --ci --build-arg ELIXIR_BASE=${{matrix.elixirbase}} +test | |
test-postgres: | |
name: postgres integration test | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
elixirbase: | |
- "1.11.4-erlang-21.3.8.24-alpine-3.13.3" | |
postgres: | |
- "15.0" | |
- "11.11" | |
- "9.6" | |
- "9.5" | |
steps: | |
- uses: earthly/actions-setup@v1 | |
- uses: actions/checkout@v3 | |
- name: test ecto_sql | |
run: earthly -P --ci --build-arg ELIXIR_BASE=${{matrix.elixirbase}} --build-arg POSTGRES=${{matrix.postgres}} +integration-test-postgres | |
test-mysql: | |
name: mysql integration test | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
elixirbase: | |
- "1.11.4-erlang-21.3.8.24-alpine-3.13.3" | |
mysql: | |
- "5.7" | |
- "8.0" | |
steps: | |
- uses: earthly/actions-setup@v1 | |
- uses: actions/checkout@v3 | |
- name: test ecto_sql | |
run: earthly -P --ci --build-arg ELIXIR_BASE=${{matrix.elixirbase}} --build-arg MYSQL=${{matrix.mysql}} +integration-test-mysql | |
test-mssql: | |
name: mssql integration test | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
elixirbase: | |
- "1.11.4-erlang-21.3.8.24-alpine-3.13.3" | |
mssql: | |
- "2017" | |
- "2019" | |
steps: | |
- uses: earthly/actions-setup@v1 | |
- uses: actions/checkout@v3 | |
- name: test ecto_sql | |
run: earthly -P --ci --build-arg ELIXIR_BASE=${{matrix.elixirbase}} --build-arg MSSQL=${{matrix.mssql}} +integration-test-mssql |