Skip to content

Commit 70d0769

Browse files
committed
fix: generate appsettings.local.json before running integration test project
1 parent 07ede7e commit 70d0769

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/build-and-test.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,20 @@ jobs:
114114
- name: Checkout branch
115115
uses: actions/checkout@v4
116116

117+
- name: Create ShopifySharp.Tests.Integration/appsettings.local.json
118+
run: |
119+
cat <<EOF > ShopifySharp.Tests.Integration/appsettings.local.json
120+
{
121+
"ShopifySharp": {
122+
"Credentials": {
123+
"ShopDomain": "${{ secrets.SHOPIFYSHARP_MY_SHOPIFY_URL }}",
124+
"AccessToken": "${{ secrets.SHOPIFYSHARP_ACCESS_TOKEN }}",
125+
"ApiKey": "${{ secrets.SHOPIFYSHARP_API_KEY }}"
126+
}
127+
}
128+
}
129+
EOF
130+
117131
- name: Execute unit test script
118132
run: fish .github/scripts/test.fish
119133
shell: bash

0 commit comments

Comments
 (0)