Skip to content

Commit

Permalink
Add io_uring to coverage tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Jan 3, 2024
1 parent 239748d commit dd6b546
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 13 deletions.
27 changes: 17 additions & 10 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,25 @@ env:

jobs:
test:
name: ${{matrix.ruby}} on ${{matrix.os}}
name: ${{matrix.ruby}} on ${{matrix.os}} with ${{matrix.selector}}
runs-on: ${{matrix.os}}-latest

strategy:
matrix:
os:
- ubuntu

ruby:
- "3.1"
- "3.2"
- "3.3"
- "ruby-head"

include:
- os: ubuntu
ruby: "3.1"
selector: EPoll
- os: ubuntu
ruby: "3.2"
selector: EPoll
- os: ubuntu
ruby: "3.3"
selector: EPoll
- os: ubuntu
ruby: "3.3"
selector: URing

steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
Expand All @@ -34,6 +39,8 @@ jobs:

- name: Run tests
timeout-minutes: 5
env:
IO_EVENT_SELECTOR: ${{matrix.selector}}
run: bundle exec bake test

- uses: actions/upload-artifact@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-io_uring.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ jobs:
timeout-minutes: 10
run: bundle exec bake test

- name: Run external tests
timeout-minutes: 10
run: bundle exec bake test:external
# - name: Run external tests
# timeout-minutes: 10
# run: bundle exec bake test:external

0 comments on commit dd6b546

Please sign in to comment.