Skip to content

Bump ex_cldr_dates_times from 2.14.2 to 2.14.3 #106

Bump ex_cldr_dates_times from 2.14.2 to 2.14.3

Bump ex_cldr_dates_times from 2.14.2 to 2.14.3 #106

name: Build and Test
on:
push:
branches:
- main
pull_request:
branches:
- '*'
jobs:
build:
name: Build and test
runs-on: ubuntu-latest
env:
MIX_ENV: test
elixir: "1.14.4"
otp: "25.1.2"
# Remove if you don't need a database
services:
db:
image: postgres
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: cbt_test
ports: ["5432:5432"]
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Elixir Project
uses: ./.github/actions/elixir-setup
with:
elixir-version: ${{ env.elixir }}
otp-version: ${{ env.otp }}
build-flags: --all-warnings --warnings-as-errors
# Run if you have a database
- name: Run Migrations
run: mix ecto.migrate
# Run tests & migrations even if compilation failed (probably due to warnings)
# so that we give devs as much feedback as possible & save some time.
if: always()
- name: Run Tests
run: mix coveralls.json --warnings-as-errors
if: always()
# Optional, but Codecov has a bot that will comment on your PR with per-file
# coverage deltas.
- name: Upload to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
files: ./cover/excoveralls.json