-
Notifications
You must be signed in to change notification settings - Fork 72
46 lines (38 loc) · 1.12 KB
/
build-test.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
name: Continuous Integration - Quality Checks
on:
workflow_call:
inputs:
# Counterintuitive, but this is the value for full history required for rev-list --count
fetch-depth:
default: 0
required: false
type: number
jobs:
ci-test-root:
name: "Integration Tests"
runs-on: ubuntu-latest
steps:
- name: Install OS Packages
run: apt-get install -y libidn-dev
- name: Checkout Repository with History
uses: actions/checkout@v3
with:
fetch-depth: ${{ inputs.fetch-depth }}
- name: Cache Ruby Gems and Bundle
id: cache-gems
uses: actions/cache@v3
with:
path: vendor/bundle
key: ${{ runner.os }}-build-ci-ruby-${{ hashFiles('Gemfile.lock') }}
- name: Setup Ruby 3.2.2
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2.2
bundler-cache: true
- name: Perform Default Rake Task
run: bundle exec rake
- name: Archive Data Artifacts
uses: actions/upload-artifact@v3
with:
name: data-artifacts
path: _data