Skip to content

自動テストの追加#9

Open
xketanaka wants to merge 18 commits intomainfrom
feature_unit_test
Open

自動テストの追加#9
xketanaka wants to merge 18 commits intomainfrom
feature_unit_test

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