Skip to content

Commit c7c6734

Browse files
committed
Move source files into ruby subdirectory
1 parent 7804e86 commit c7c6734

File tree

465 files changed

+15
-8
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

465 files changed

+15
-8
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,15 @@ jobs:
2020
ruby: [ruby-3.2, ruby-3.3, ruby-3.4]
2121
os: [ubuntu-latest, macos-latest]
2222
execution:
23-
- bundle exec rspec spec/unit
24-
- bundle exec mutant environment test run spec/unit
23+
- cd ruby && bundle exec rspec spec/unit
24+
- cd ruby && bundle exec mutant environment test run spec/unit
2525
steps:
2626
- uses: actions/checkout@v4
2727
- uses: ruby/setup-ruby@v1
2828
with:
2929
ruby-version: ${{ matrix.ruby }}
3030
bundler-cache: true
31+
working-directory: ./ruby
3132
- run: ${{ matrix.execution }}
3233
ruby-mutant:
3334
name: Mutation coverage
@@ -46,7 +47,8 @@ jobs:
4647
with:
4748
ruby-version: ${{ matrix.ruby }}
4849
bundler-cache: true
49-
- run: bundle exec mutant run --zombie --since HEAD~1
50+
working-directory: ./ruby
51+
- run: cd ruby && bundle exec mutant run --zombie --since HEAD~1
5052
ruby-integration-misc:
5153
name: Integration Misc
5254
runs-on: ${{ matrix.os }}
@@ -62,8 +64,9 @@ jobs:
6264
with:
6365
ruby-version: ${{ matrix.ruby }}
6466
bundler-cache: true
67+
working-directory: ./ruby
6568
- run: |
66-
bundle exec rspec \
69+
cd ruby && bundle exec rspec \
6770
spec/integration/mutant/null_spec.rb \
6871
spec/integration/mutant/isolation/fork_spec.rb \
6972
spec/integration/mutant/test_mutator_handles_types_spec.rb \
@@ -83,7 +86,8 @@ jobs:
8386
with:
8487
ruby-version: ${{ matrix.ruby }}
8588
bundler-cache: true
86-
- run: bundle exec rspec spec/integration -e minitest
89+
working-directory: ./ruby
90+
- run: cd ruby && bundle exec rspec spec/integration -e minitest
8791
ruby-integration-rspec:
8892
name: Integration RSpec
8993
runs-on: ${{ matrix.os }}
@@ -99,7 +103,8 @@ jobs:
99103
with:
100104
ruby-version: ${{ matrix.ruby }}
101105
bundler-cache: true
102-
- run: bundle exec rspec spec/integration -e rspec
106+
working-directory: ./ruby
107+
- run: cd ruby && bundle exec rspec spec/integration -e rspec
103108
ruby-integration-generation:
104109
name: Integration Mutation Generation
105110
runs-on: ${{ matrix.os }}
@@ -115,7 +120,8 @@ jobs:
115120
with:
116121
ruby-version: ${{ matrix.ruby }}
117122
bundler-cache: true
118-
- run: bundle exec rspec spec/integration -e generation
123+
working-directory: ./ruby
124+
- run: cd ruby && bundle exec rspec spec/integration -e generation
119125
ruby-rubocop:
120126
name: Rubocop
121127
runs-on: ${{ matrix.os }}
@@ -131,4 +137,5 @@ jobs:
131137
with:
132138
ruby-version: ${{ matrix.ruby }}
133139
bundler-cache: true
134-
- run: bundle exec rubocop
140+
working-directory: ./ruby
141+
- run: cd ruby && bundle exec rubocop
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)