chore: no oban pro in CI for now

This commit is contained in:
Zach Daniel 2023-05-01 18:20:08 -04:00
parent db9285f710
commit 6ec1d73844
2 changed files with 3 additions and 1 deletions

View file

@ -7,6 +7,8 @@ on:
pull_request:
branches: [main]
workflow_call:
env:
ASH_OBAN_CI_OBAN_PRO: "false"
jobs:
ash-ci:
uses: ash-project/ash/.github/workflows/ash-ci.yml@main

View file

@ -119,7 +119,7 @@ defmodule AshOban.MixProject do
# Run "mix help deps" to learn about dependencies.
defp deps do
oban_dep =
if Mix.env() == :dev do
if Mix.env() == :dev && !(System.get_env("ASH_OBAN_CI_OBAN_PRO") == "false") do
[{:oban_pro, "~> 0.14", repo: "oban", optional: true}]
else
[]