-
Notifications
You must be signed in to change notification settings - Fork 174
55 lines (48 loc) · 1.42 KB
/
run-maze-runner.yml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: run-maze-runner
on:
workflow_call:
inputs:
features:
required: true
type: string
ruby-version:
required: true
type: string
rack-version:
required: false
type: string
que-version:
required: false
type: string
rails-version:
required: false
type: string
sidekiq-version:
required: false
type: string
jobs:
maze-runner:
runs-on: ubuntu-latest
timeout-minutes: 30
env:
BUNDLE_GEMFILE: Gemfile-maze-runner
steps:
- uses: actions/checkout@v3
- name: Install libcurl4-openssl-dev and net-tools
run: |
sudo apt-get update
sudo apt-get install libcurl4-openssl-dev net-tools
- name: install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true
cache-version: ${{ inputs.ruby-version }}-${{ inputs.rack-version }}-${{ inputs.que-version }}-${{ inputs.rails-version }}-${{ inputs.sidekiq-version }}
- run: bundle exec maze-runner ${{ inputs.features }} --no-source
env:
NETWORK_NAME: notwerk
RUBY_TEST_VERSION: ${{ inputs.ruby-version }}
RACK_VERSION: ${{ inputs.rack-version }}
QUE_VERSION: ${{ inputs.que-version }}
RAILS_VERSION: ${{ inputs.rails-version }}
SIDEKIQ_VERSION: ${{ inputs.sidekiq-version }}