Skip to content

Commit 870abda

Browse files
committed
Run tests without the C extension in CI
1 parent 855a6dc commit 870abda

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/ci.yml

+16-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ concurrency:
66

77
jobs:
88
build:
9+
name: "Tests: Ruby ${{ matrix.ruby }} - ${{ matrix.os }}"
910
runs-on: ${{ matrix.os }}-latest
1011
timeout-minutes: 10
1112

@@ -23,7 +24,6 @@ jobs:
2324
RUBYOPT: '-w'
2425
JRUBY_OPTS: '--dev'
2526

26-
name: "Tests: Ruby ${{ matrix.ruby }} - ${{ matrix.os }}"
2727
steps:
2828
- name: Clone Repo
2929
uses: actions/checkout@v4
@@ -35,6 +35,21 @@ jobs:
3535
- name: Run tests
3636
run: bundle exec rake ci
3737

38+
no-extensions:
39+
name: "Test without C extension"
40+
runs-on: ubuntu-latest
41+
timeout-minutes: 10
42+
env:
43+
RUBYOPT: '-w'
44+
steps:
45+
- uses: actions/checkout@v4
46+
- uses: ruby/setup-ruby@v1
47+
with:
48+
ruby-version: ruby
49+
bundler-cache: true
50+
- name: Run tests
51+
run: bundle exec rake spec:ci
52+
3853
isolated:
3954
name: "Test isolated"
4055
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)