Document conditional upserts #3167
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: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
integration-test: | |
name: integration test | |
runs-on: ubuntu-latest | |
env: | |
FORCE_COLOR: 1 | |
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" | |
- "1.10.4-erlang-21.3.8.24-alpine-3.13.3" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Download released earthly | |
run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.5.8/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod x /usr/local/bin/earthly'" | |
- name: ecto integration-test under ${{matrix.elixirbase}} | |
run: earthly -P --ci --build-arg ELIXIR_BASE=${{matrix.elixirbase}} integration-test | |
unit-test: | |
name: unit test | |
runs-on: ubuntu-latest | |
env: | |
FORCE_COLOR: 1 | |
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" | |
- "1.10.4-erlang-21.3.8.24-alpine-3.13.3" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Download released earthly | |
run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.5.8/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod x /usr/local/bin/earthly'" | |
- name: ecto test under ${{matrix.elixirbase}} | |
run: earthly -P --ci --build-arg ELIXIR_BASE=${{matrix.elixirbase}} test | |
lint: | |
name: lint | |
runs-on: ubuntu-latest | |
env: | |
FORCE_COLOR: 1 | |
strategy: | |
fail-fast: false | |
matrix: | |
elixirbase: | |
- "1.13.4-erlang-24.3.4.2-alpine-3.16.0" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Download released earthly | |
run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.5.8/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod x /usr/local/bin/earthly'" | |
- name: ecto lint under ${{matrix.elixirbase}} | |
run: earthly -P --ci --build-arg ELIXIR_BASE=${{matrix.elixirbase}} lint |