Skip to content

refactor: improve calendar performance and style #1076

refactor: improve calendar performance and style

refactor: improve calendar performance and style #1076

Workflow file for this run

name: Build and Test
on:
push:
branches: [develop]
paths:
- '**/*.ex'
- '**/*.exs'
- '**/*.html.heex'
pull_request:
branches: [develop]
types: [opened, synchronize]
paths:
- '**/*.ex'
- '**/*.exs'
- '**/*.html.heex'
jobs:
build:
runs-on: ubuntu-latest
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
env:
MIX_ENV: test
strategy:
matrix:
otp: [26.x]
elixir: [1.14.x]
services:
db:
image: postgres:14.1
ports:
- 5432:5432
env:
POSTGRES_USERNAME: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_HOSTNAME: 0.0.0.0
steps:
- name: ☁️ Checkout repository
uses: actions/checkout@v3
- name: 💧 Setup Elixir ${{ matrix.elixir }} (OTP ${{matrix.otp}})
uses: ./.github/actions
with:
otp-version: ${{ matrix.otp }}
elixir-version: ${{ matrix.elixir }}
build-flags: --all-warnings --warnings-as-errors
- name: ⚙️ Install wkhtmltopdf
run: sudo apt-get update && sudo apt-get install -y wkhtmltopdf
- name: 🔬 Run the tests
run: mix test --warnings-as-errors