Skip to content

fix: cron jobs (#400) #322

fix: cron jobs (#400)

fix: cron jobs (#400) #322

Workflow file for this run

name: Build & Test
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
types: [opened, synchronize]
jobs:
build:
runs-on: ubuntu-latest
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
env:
MIX_ENV: test
strategy:
matrix:
otp: [25.x]
elixir: [1.14.x]
services:
db:
image: postgres:11.5
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/elixir-setup
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- name: Run the tests
run: mix test --warnings-as-errors