-
Notifications
You must be signed in to change notification settings - Fork 29
51 lines (50 loc) · 1.32 KB
/
ci.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
---
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
tests:
name: Tests
runs-on: macos-latest
timeout-minutes: 30
steps:
- name: Install dependencies
run: brew install pkg-config portaudio
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Ruby and install gems
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Run Lacci tests
run: CI_RUN='true' bundle exec rake lacci_test
- name: Run Scarpe-Component tests
run: CI_RUN='true' bundle exec rake component_test
- name: Run Scarpe tests
run: CI_RUN='true' bundle exec rake test
- name: upload test-fail logs
if: '!cancelled()'
uses: actions/upload-artifact@v3
with:
name: test failure logs
path: logger/test_failure*.out.log
# linter:
# name: Linter
# runs-on: macos-latest
# timeout-minutes: 10
# steps:
# - name: Install dependencies
# run: brew install pkg-config portaudio
# - name: Checkout code
# uses: actions/checkout@v3
# - name: Setup Ruby and install gems
# uses: ruby/setup-ruby@v1
# with:
# bundler-cache: true
# - name: Run linter
# run: bundle exec rubocop