Skip to content

Build Test Lint of 6624/merge by @dlpierce #17

Build Test Lint of 6624/merge by @dlpierce

Build Test Lint of 6624/merge by @dlpierce #17

Workflow file for this run

name: 'Build Test Lint'
run-name: Build Test Lint of ${{ github.ref_name }} by @${{ github.actor }}
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
required: false
default: false
jobs:
build:
uses: scientist-softserv/actions/.github/workflows/[email protected]
secrets: inherit
with:
platforms: 'linux/amd64'
webTarget: hyrax-engine-dev
test:
needs: build
uses: ./.github/workflows/test-reusable-workflow.yml
with:
confdir: '/app/samvera/hyrax-webapp/solr/conf'
webTarget: hyrax-engine-dev
rspec_cmd: 'cd /app/samvera/hyrax-engine && gem install semaphore_test_boosters && bundle install && rspec_booster --job $CI_NODE_INDEX/$CI_NODE_TOTAL'
setup_db_cmd: 'true'
debug_enabled: false
lint:
needs: build
uses: scientist-softserv/actions/.github/workflows/[email protected]
with:
webTarget: hyrax-engine-dev
rubocop_cmd: 'cd /app/samvera/hyrax-engine && bundle exec rubocop --parallel --format progress'