Build Test Lint of 359/merge by @ShanaLMoore #478
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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: notch8/actions/.github/workflows/build.yaml@v0.0.24 | |
| secrets: inherit | |
| with: | |
| platforms: 'linux/amd64' | |
| webTarget: hyku-web | |
| workerTarget: hyku-worker | |
| test: | |
| needs: build | |
| uses: notch8/actions/.github/workflows/test.yaml@v0.0.24 | |
| with: | |
| confdir: '/app/samvera/hyrax-webapp/solr/conf' | |
| rspec_cmd: "cd .. && gem install semaphore_test_boosters && bundle && rspec_booster --job $CI_NODE_INDEX/$CI_NODE_TOTAL" | |
| lint: | |
| needs: build | |
| uses: notch8/actions/.github/workflows/lint.yaml@v0.0.24 | |
| with: | |
| webTarget: hyku-web | |
| workerTarget: hyku-worker | |
| rubocop_cmd: "cd .. && bundle && bundle exec rubocop --parallel --format progress" |