Skip to content

Commit

Permalink
Exclude duplicated test
Browse files Browse the repository at this point in the history
`--jit` is same to `--yjit` since MRI 3.2

```
$ RBENV_VERSION=3.0.5 ruby --help | grep " --jit "
  --jit           enable JIT with default options (experimental)

$ RBENV_VERSION=3.1.4 ruby --help | grep " --jit "
  --jit           enable JIT for the platform, same as --mjit (experimental)

$ RBENV_VERSION=3.2.2 ruby --help | grep " --jit "
  --jit           enable JIT for the platform, same as --yjit

$ RBENV_VERSION=3.3.0 ruby --help | grep " --jit "
  --jit           enable JIT for the platform, same as --yjit
```

Therefore, since Ruby 3.2, I don't test both `--jit` and `--yjit`.
  • Loading branch information
sue445 committed Jan 19, 2024
1 parent 978a19b commit 70fee76
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ jobs:
- ruby: "3.0"
rubyopt: "--yjit"

# --jit is same to --yjit since MRI 3.2 (don't test both `--jit` and `--yjit`)
- ruby: "3.2"
rubyopt: "--yjit"
- ruby: "3.3"
rubyopt: "--yjit"

uses: ./.github/workflows/test_main.yml
with:
ruby: ${{ matrix.ruby }}
Expand Down

0 comments on commit 70fee76

Please sign in to comment.