-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (42 loc) · 1.05 KB
/
ci.yml
File metadata and controls
54 lines (42 loc) · 1.05 KB
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
name: Run CI
on:
push:
branches: [ main, 'feat/**' ]
paths-ignore:
- '**.md' # Do not need to run CI for markdown changes.
pull_request:
branches: [ main, 'feat/**' ]
paths-ignore:
- '**.md'
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby-version:
- '3.4'
- jruby-10.0
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/ci
with:
ruby-version: ${{ matrix.ruby-version }}
- uses: ./.github/actions/build-docs
if: ${{ !startsWith(matrix.ruby-version, 'jruby') }}
build-windows:
runs-on: windows-latest
env:
LD_SKIP_DATABASE_TESTS: 1
defaults:
run:
shell: powershell
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@3ff19f5e2baf30647122352b96108b1fbe250c64 # v1.299.0
with:
ruby-version: 3.4
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rspec spec