Skip to content

Commit d404f7a

Browse files
committed
fix coverage paths
1 parent f054a8f commit d404f7a

File tree

2 files changed

+14
-22
lines changed

2 files changed

+14
-22
lines changed

.github/workflows/deploy-site.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ jobs:
5555
with:
5656
workflow: test.yml
5757
workflow_conclusion: success
58-
name: coverage-ruby3.3-rails7.1
59-
path: coverage
58+
name: coverage-ruby3.4-rails8.0
59+
path: site/public/coverage/
6060

6161
- name: Generate YARD documentation
6262
run: |
@@ -66,14 +66,6 @@ jobs:
6666
bundle install
6767
bundle exec yard doc --output-dir=site/public/yard
6868
69-
- name: Copy coverage to site
70-
run: |
71-
# Ensure directory exists
72-
mkdir -p site/public/coverage
73-
74-
# Copy coverage reports
75-
cp -r coverage/* site/public/coverage/
76-
7769
- name: Export TypeScript types
7870
run: |
7971
ruby scripts/export_typescript_types.rb

.github/workflows/test.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,11 @@ jobs:
114114
cd site && npm test
115115
116116
pilot:
117-
name: "Pilot Test: Ruby 3.2 / Rails 7.0"
117+
name: "Pilot Test: Ruby 3.4 / Rails 8.0"
118118
runs-on: ubuntu-22.04
119119
env:
120-
RAILS_VERSION: "7.0"
121-
RUBY_VERSION: "3.2"
120+
RAILS_VERSION: "8.0"
121+
RUBY_VERSION: "3.4"
122122
CI: "true"
123123
BUNDLE_WITHOUT: "development"
124124
steps:
@@ -128,10 +128,10 @@ jobs:
128128
- name: Remove Gemfile.lock for variable Ruby/Rails versions
129129
run: rm -f Gemfile.lock
130130

131-
- name: Setup Ruby 3.2
131+
- name: Setup Ruby 3.4
132132
uses: ruby/setup-ruby@v1
133133
with:
134-
ruby-version: "3.2"
134+
ruby-version: "3.4"
135135
bundler-cache: true
136136

137137
- name: Run tests
@@ -142,8 +142,8 @@ jobs:
142142
uses: actions/upload-artifact@v4
143143
if: success()
144144
with:
145-
name: coverage-pilot-ruby3.0-rails7.0
146-
path: coverage/
145+
name: coverage-pilot-ruby3.4-rails8.0
146+
path: site/public/coverage/
147147
retention-days: 5
148148

149149
matrix:
@@ -154,14 +154,14 @@ jobs:
154154
fail-fast: false
155155
matrix:
156156
include:
157+
- name: "Ruby 3.2 / Rails 7.0"
158+
ruby: "3.2"
159+
rails: "7.0"
160+
157161
- name: "Ruby 3.3 / Rails 7.1"
158162
ruby: "3.3"
159163
rails: "7.1"
160164

161-
- name: "Ruby 3.4 / Rails 8.0"
162-
ruby: "3.4"
163-
rails: "8.0"
164-
165165
env:
166166
RAILS_VERSION: ${{ matrix.rails }}
167167
RUBY_VERSION: ${{ matrix.ruby }}
@@ -190,5 +190,5 @@ jobs:
190190
if: success()
191191
with:
192192
name: coverage-ruby${{ matrix.ruby }}-rails${{ matrix.rails }}
193-
path: coverage/
193+
path: site/public/coverage/
194194
retention-days: 30

0 commit comments

Comments
 (0)