Skip to content

Commit

Permalink
ローカルでrunsettingsファイルを自動検出するよう設定変更。
Browse files Browse the repository at this point in the history
  • Loading branch information
Fumika Koyama committed Nov 8, 2023
1 parent fe8442e commit 0d96b98
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/samples-dressca-backend.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
- id: run-tests
name: テストの実行
continue-on-error: true
run: dotnet test --settings:./tests/Dressca.IntegrationTest/citest.runsettings --logger trx --verbosity normal --configuration ${{ env.BUILD_CONFIGURATION }} --collect "XPlat Code Coverage"
run: dotnet test --settings:./tests/Dressca.IntegrationTest/citest.runsettings --no-build --logger trx --verbosity normal --configuration ${{ env.BUILD_CONFIGURATION }} --collect "XPlat Code Coverage"

- id: create-test-result-report
name: テスト結果ページの作成
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<None Update="appsettings.Development.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="appsettings.json">
<None Update="appsettings.citest.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="citest.runsettings">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<RunSettings>
<RunConfiguration>
<EnvironmentVariables>
<appSettingsFileDirectory>./appsettings.json</appSettingsFileDirectory>
<appSettingsFileDirectory>./appsettings.citest.json</appSettingsFileDirectory>
</EnvironmentVariables>
</RunConfiguration>
</RunSettings>

0 comments on commit 0d96b98

Please sign in to comment.