Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add-ability-to-specify-confdir #11

Merged
merged 4 commits into from
Nov 17, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: "Rspec for Rails Apps"
on:
workflow_dispatch:
inputs:
confdir:
required: false
type: string
aprilrieger marked this conversation as resolved.
Show resolved Hide resolved
worker:
required: false
type: boolean
Expand All @@ -14,6 +17,9 @@ on:
default: "gem install semaphore_test_boosters && rspec_booster --job $CI_NODE_INDEX/$CI_NODE_TOTAL"
workflow_call:
inputs:
confdir:
required: false
type: string
worker:
required: false
type: boolean
Expand Down Expand Up @@ -42,7 +48,7 @@ jobs:
ci_node_index: [0, 1, 2]
env:
ALLOW_ANONYMOUS_LOGIN: "yes"
CONFDIR: "/app/samvera/hyrax-webapp/solr/config"
CONFDIR: ${{ inputs.confdir }}
DB_CLEANER_ALLOW_REMOTE_DB_URL: "true"
TB_RSPEC_FORMATTER: progress
TB_RSPEC_OPTIONS: --format RspecJunitFormatter --out rspec.xml
Expand Down