Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

自動テストの追加 #9

Open
wants to merge 18 commits into
base: main
Choose a base branch
from
Open

自動テストの追加 #9

wants to merge 18 commits into from

Conversation

xketanaka
Copy link
Collaborator

以下の2クラスについての自動テストを実装しました。

  • app/models/repository/github.rb
  • lib/redmine/scm/adapters/github_adapter.rb

Github actions で実行できるように設定ファイル(.github/workflows/ci.yml)を用意しましたが、
こちらのリポジトリにPUSHする際に以下のエラーがでましたので
Github actionsが生成されないようにリネームしてPUSHしています。

エラー

To https://github.com/farend/redmine_github_repo.git
 ! [remote rejected] HEAD -> feature_unit_test (refusing to allow a Personal Access Token to create or update workflow `.github/workflows/ci.yml` without `workflow` scope)
error: failed to push some refs to 'https://github.com/farend/redmine_github_repo.git'

対応
004a15d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants