Skip to content

Allow MySQL to cast decimals to float on aggregation #1398

Allow MySQL to cast decimals to float on aggregation

Allow MySQL to cast decimals to float on aggregation #1398

Workflow file for this run

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"
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-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