forked from IUBLibTech/archives_online
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (36 loc) · 1.1 KB
/
build-test-lint.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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
# We are using version 14 since this project has not been knap-sackerized yet
jobs:
build:
uses: scientist-softserv/actions/.github/workflows/[email protected]
secrets: inherit
with:
platforms: "linux/amd64"
baseTarget: base
webTarget: web
# test:
# needs: build
# uses: scientist-softserv/actions/.github/workflows/[email protected]
# with:
# confdir: '/home/app/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: scientist-softserv/actions/.github/workflows/[email protected]
with:
webTarget: web