Skip to content

WIP Setup GH Actions for rspec using softserv actions #40

WIP Setup GH Actions for rspec using softserv actions

WIP Setup GH Actions for rspec using softserv actions #40

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: ./.github/workflows/reuse-build.yml
secrets: inherit
with:
platforms: linux/amd64
webTarget: hyrax-engine-dev
test:
needs: build
uses: ./.github/workflows/reuse-test.yml

Check failure on line 27 in .github/workflows/build-test-lint.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-test-lint.yml

Invalid workflow file

error parsing called workflow ".github/workflows/build-test-lint.yml" -> "./.github/workflows/reuse-test.yml" : you may only define up to 10 `inputs` for a `workflow_dispatch` event
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: ./.github/workflows/reuse-lint.yml
with:
webTarget: hyrax-engine-dev
rubocop_cmd: 'cd /app/samvera/hyrax-engine && bundle install && bundle exec rubocop --parallel --format progress'
reports:
if: always()
needs: [tests, lint]
uses: ./.github/workflows/reuse-report.yml