How to end the rails started process to generate simplecov coverage report
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
調査の方向性
リンク先の start-server ドキュメントと、workflow の start および wait-on 設定から始めてください。Cypress の完了後に action が Rails プロセスをどのように停止するか、また、upload 前に coverage レポートを生成できるほどプロセスが正常に終了するかを調査してください。workflow の最後に SimpleCov レポートが利用可能になっていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
I'm using Cypress to do system on our Rails application and simplecov to generate the coverage report, but simplecov only generate the reports when the rails server process is terminated with sucess exit(0).
https://github.com/cypress-io/github-action#start-server
...
- name: Cypress Run
uses: cypress-io/github-action@v2
env:
CYPRESS_RAILS_PORT: 9999
CYPRESS_BASE_URL: "http://localhost:9999/"
COVERAGE: true
with:
start: bundle exec rails server -b 0.0.0.0 -p 9999
wait-on: "http://localhost:9999"
...
Cypress suite test runs perfectly but in the end I didn't get the simplecov reports to be uploaded to codecov. I'm guessing this is because the "started" rails process was note terminated by the cypress github action.
e.g
^C- Gracefully stopping, waiting for requests to finish
=== puma shutdown: 2022-02-18 11:48:09 -0300 ===
- Goodbye!
Exiting
Coverage report generated to /Users/wagner/src/tia/coverage/coverage.xml. 1469 / 3460 LOC (42.46%) covered
Coverage report generated to /Users/wagner/src/tia/coverage. 1469 / 3460 LOC (42.46%) covered.
Any idea how to achieve this ? Get the simplecov report in the end of the cypress github action execution?
Thanks a lot in advance.
- 主要言語
- JavaScript
- スター
- 1.5k
- フォーク
- 356
- 平均マージ
- 1日 18時間
- マージ済み PR(30日)
- 25
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
cypress-io/github-action のほかの issue
-
Renovate: lock file maintenance fails in Yarn Modern再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンbug renovate
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
cypress-io/github-action#1910 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
renovate
難易度 2/5 1〜3時間 初心者へのやさしさ 48/100
cypress-io/github-action#1911 ·
メンテナーはふだん 1 日以内に返信
-
Yarn v1 Classic unsupported - deprecation is due再び着手できるかも @MikeMcC399 が 125 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンdocumentation
cypress-io/github-action#1819 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Migrate to ESMオープンtype: enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
cypress-io/github-action#1647 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
Cypress.env deprecation / cy.env addition再び着手できるかも @MikeMcC399 が 61 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンtests type: enhancement
cypress-io/github-action#1620 · コメント 8 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
cypress-io/github-action の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
help wanted Idea 💡 wdio-cli
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
webdriverio/webdriverio#16361 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
clientV2: Application Info header separators show as missing-character boxes without a CJK fontオープンbug new-client
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
NUWCDIVNPT/stig-manager#2285 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
Fei2411/DeepSeek-Bot#922 · リアクション 1 件 ·