-
Notifications
You must be signed in to change notification settings - Fork 1
48 lines (37 loc) · 1.09 KB
/
metanorma.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
name: metanorma
on:
push:
branches: [ master, v2, v3 ]
pull_request:
jobs:
prepare:
uses: metanorma/ci/.github/workflows/prepare-rake.yml@main
test:
name: Test on Ruby ${{ matrix.ruby.version }} ${{ matrix.os }}
runs-on: ${{ matrix.os }}
needs: prepare
if: needs.prepare.outputs.push-for-tag != 'true'
continue-on-error: ${{ matrix.ruby.experimental }}
strategy:
fail-fast: false
max-parallel: 5
matrix: ${{ fromJson(needs.prepare.outputs.matrix) }}
steps:
- uses: actions/checkout@v3
with:
repository: metanorma/metanorma
- uses: actions/checkout@v3
with:
fetch-depth: 0
path: "formulas"
- run: |
mkdir -p $HOME/.fontist/versions/v3
mv formulas $HOME/.fontist/versions/v3/formulas
shell: bash
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby.version }}
rubygems: ${{ matrix.ruby.rubygems }}
bundler-cache: true
- uses: metanorma/ci/inkscape-setup-action@main
- run: bundle exec rake